aiogram/tests/test_api/test_client/test_session
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_middlewares Remove warnings about pytest asyncio mode 2022-12-30 16:10:06 +02:00
__init__.py Update tests and small refactoring 2019-11-16 22:32:26 +02:00
test_aiohttp_session.py refactor(types): unify InputFile with str in media types (dev-3.x) 2024-05-20 09:33:16 +07:00
test_base_session.py refactor(types): unify InputFile with str in media types (dev-3.x) 2024-05-20 09:33:16 +07:00