ptbcontrib icon indicating copy to clipboard operation
ptbcontrib copied to clipboard

Community-based extensions for the python-telegram-bot library.

Results 14 ptbcontrib issues
Sort by recently updated
recently updated
newest added

### A small bug on postgrespersistence.py ### Steps to reproduce 1. run this code ``` def set_data(update, context): context.user_data["123"] = "string_key" context.user_data[123] = "integer_key" update.message.reply_text("Data added!") def get_data(update, context): update.message.reply_text(f"user_data:...

bug :bug:

updates: - [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0) - [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2) - [github.com/PyCQA/pylint: v2.14.1 → v2.14.5](https://github.com/PyCQA/pylint/compare/v2.14.1...v2.14.5) - [github.com/pre-commit/mirrors-mypy: v0.961 → v0.971](https://github.com/pre-commit/mirrors-mypy/compare/v0.961...v0.971) - [github.com/asottile/pyupgrade: v2.34.0 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.3)

PTB v20.0a0 was just released. Many of the contributions in `ptbcontrib` will not work with that version. For now, the requirements where all updated to reflect that (see #42), but...

enhancement

### PTB_sqlalchemy_persistence Because other data in the project is already stored in mysql i've tried to adapt the code for using mysql instead of postgres. (And never run postgres myself,...

enhancement

### Module in question: ptb_sqlalchemy_jobstore ### Steps to reproduce 1. Create a ConversationHandler with conversation_timeout set to any supported value other than None. 2. Add PTBSQLAlchemyJobStore to dispatcher.job_queue.scheduler . 3....

bug :bug:

This idea came up in a discussion group, https://t.me/c/1101839433/8235. One can increase the major version every time a new module is added, and a minor increase if a module gets...

enhancement
hacktoberfest

updates: - [github.com/psf/black: 24.1.1 → 24.3.0](https://github.com/psf/black/compare/24.1.1...24.3.0) - [github.com/PyCQA/pylint: v3.0.3 → v3.1.0](https://github.com/PyCQA/pylint/compare/v3.0.3...v3.1.0) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.2)

updates: - [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.1) - [github.com/PyCQA/pylint: v3.2.2 → v3.2.7](https://github.com/PyCQA/pylint/compare/v3.2.2...v3.2.7) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.11.2) - [github.com/asottile/pyupgrade: v3.15.2 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.17.0)

### Module this issue is about ptbcontrib/postgres_persistence/postgrespersistence.py ### Steps to reproduce 1. Use specified module as persistence class. 2. Build your application loading the persistence. 3. Add some random data...

bug :bug: