aiogram/aiogram/dispatcher
Alex Root Junior 62d4b9014c
Fix bot instance passing in Dispatcher startup (#1247)
Modified the Dispatcher to remove the "bot" key from workflow_data if found, prior to emitting startup in order to allow manual addition of "bot" to workflow data. This change was necessary as a bot instance is required to start polling, and therefore must be passed correctly. This logic is now tested in the 'test_start_polling' function. The change also includes an update to the changelog.
2023-08-06 01:14:26 +03:00
..
event skip if current router does not have observer for custom event (#1147) 2023-04-08 17:39:48 +03:00
middlewares Update pydantic to V2 (#1202) 2023-07-02 15:07:19 +03:00
__init__.py Add Router 2019-11-23 19:54:04 +02:00
dispatcher.py Fix bot instance passing in Dispatcher startup (#1247) 2023-08-06 01:14:26 +03:00
flags.py Reworked graceful shutdown (#1124) 2023-02-18 15:46:28 +02:00
router.py Migration guide 2.x -> 3.0 (#1143) 2023-07-29 22:36:12 +03:00