mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 19:00:23 +00:00
* fix: CallbackData set optional as None * docs: add fix changelog * Add support for nullable fields in callback data This update extends the callback data handling by adding support for nullable fields. The code now uses the Python typing structures `Optional` and `Union` to parse such fields correctly. A helper function `_check_field_is_nullable` has been added to assist in efficiently checking if a given field is nullable. * Add support for nullable fields in callback data This update extends the callback data handling by adding support for nullable fields. The code now uses the Python typing structures `Optional` and `Union` to parse such fields correctly. A helper function `_check_field_is_nullable` has been added to assist in efficiently checking if a given field is nullable. --------- Co-authored-by: JRoot Junior <jroot.junior@gmail.com> |
||
|---|---|---|
| .. | ||
| data/locales | ||
| test_api | ||
| test_dispatcher | ||
| test_filters | ||
| test_flags | ||
| test_fsm | ||
| test_handler | ||
| test_issues | ||
| test_utils | ||
| test_webhook | ||
| __init__.py | ||
| conftest.py | ||
| deprecated.py | ||
| docker-compose.yml | ||
| mocked_bot.py | ||