aiogram/tests/test_api/test_client
zemf4you 1ea41076cd refactor(types): unify InputFile with str in media types (dev-3.x)
Refactored various InputMedia types to support Union[InputFile, str] for
media properties, enhancing flexibility and unifying input data types.

- Modified media_group.py for AUDIO, PHOTO, VIDEO, and DOCUMENT.
- Updated input_media_document.py and input_media_audio.py
  to use Union[InputFile, str].
- Adjusted bot.py to utilize DateTime for close_date.
- Refactored aiohttp session for better file handle and serialization.
- Enhanced set_chat_photo.py to accept Union[InputFile, str].
- Re-organized input_file.py with modern BaseModel features.
- Added new client/form module for splitting file extraction logic.
- Adapted test cases to validate the new structure and behavior.
2024-05-20 09:33:16 +07:00
..
test_session refactor(types): unify InputFile with str in media types (dev-3.x) 2024-05-20 09:33:16 +07:00
__init__.py Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00
test_api_server.py Rework session DI and files path wrapper 2021-12-12 18:15:36 +02:00
test_bot.py Fixed poll answer FSM context (#1436) 2024-03-10 16:18:41 +02:00
test_context_controller.py PoC: Bot instance inside method shortcuts using pydantic Validation Context (#1210) 2023-07-11 23:17:26 +03:00
test_default.py Fixed poll answer FSM context (#1436) 2024-03-10 16:18:41 +02:00