aiogram/tests/test_api
zemf4you 6f4452f4e0 refactor(backend): implement default value handling in serialization
The `json_serialize` method has been added to the `TelegramMethod` and
`TelegramObject` classes to replace `Default` placeholders with actual
values from the bot's defaults during JSON serialization. This change
ensures that non-standard objects are handled correctly, maintaining
backward compatibility for built-in pydantic json serialization.

This modification is beneficial as it centralizes the handling of
default values when serializing objects to JSON, making the code more
maintainable and robust against future changes in serialization logic.
2024-04-06 03:27:01 +07:00
..
test_client Fixed poll answer FSM context (#1436) 2024-03-10 16:18:41 +02:00
test_methods refactor(backend): implement default value handling in serialization 2024-04-06 03:27:01 +07:00
test_types Added full support of Bot API 7.1 (#1417) 2024-02-16 23:44:35 +02:00
__init__.py Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00