aiogram/tests/test_dispatcher/test_middlewares
JRoot Junior 924fb755cb
Refactor UserContextMiddleware to use EventContext class
This update significantly refactors UserContextMiddleware to leverage a new class, EventContext. Instead of resolving event context as a tuple, it now produces an instance of EventContext. Additional adjustments include supporting a business connection ID for event context identification and facilitating backwards compatibility. Tests and other files were also updated accordingly for these changes.
2024-04-09 01:26:31 +03:00
..
__init__.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
test_user_context.py Refactor UserContextMiddleware to use EventContext class 2024-04-09 01:26:31 +03:00