python-telegram-bot/telegram/utils
Noam Meltzer e4a132c0e4 Reusable dispatcher (#402)
* Create a Request class which maintains its own connection pool
* When creating a Bot instance a new Request instance will be created if one wasn't supplied.
* Updater is responsible for creating a Request instance if a Bot instance wasn't provided.
* Dispatcher: add method to run async functions without decorator
* Dispatcher can now run as a singleton (allowing run_async decorator to work) as it always did and as multiple instances (where run_async decorator will raise RuntimeError)
2016-09-06 16:38:07 +03:00
..
__init__.py Merging testing 2015-09-04 23:21:31 -03:00
botan.py move botan to contrib 2016-05-28 09:12:10 +02:00
deprecate.py Running yapf for codebase #259 2016-05-14 22:46:40 -03:00
promise.py ConversationHandler (#331) 2016-07-15 01:30:54 +02:00
request.py Reusable dispatcher (#402) 2016-09-06 16:38:07 +03:00
webhookhandler.py use ujson as JSON en/decoder if available 2016-08-26 09:40:46 +02:00