aiogram/tests/test_api/test_client/test_session
zemf4you 534221a30a fix: change order of Union types for media properties
The order of Union types for media properties in various files was
reversed to `Union[str, InputFile]` for consistency. The changes were
made in the following files:
- aiogram/types/input_media_video.py
- aiogram/types/input_media_audio.py
- aiogram/types/input_media_document.py
- aiogram/types/input_media_animation.py
- aiogram/types/input_media_photo.py
- aiogram/utils/media_group.py

fix: update type check in base.py for TelegramObject (dev-3)

Replaced BotContextController with TelegramObject in the type check to
ensure proper handling of non-standard objects.

test: add TODO comments in test files (dev-3)

Added TODO comments to highlight parts of the code that need future
improvements in the following test files:
- tests/test_api/test_types/test_input_file.py
- tests/test_api/test_client/test_session/test
2024-05-20 15:55:06 +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 fix: change order of Union types for media properties 2024-05-20 15:55:06 +07:00