mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Previously, `Scene` handlers were registered based on the sorted output of `inspect.getmembers`, causing incorrect execution order. Now, handlers are registered in the order they are defined in the class, ensuring reliable behavior and proper sequence when handling filters with varying specificity. Added test cases to validate the correct handler ordering. |
||
|---|---|---|
| .. | ||
| storage | ||
| __init__.py | ||
| test_context.py | ||
| test_scene.py | ||
| test_state.py | ||
| test_strategy.py | ||