#1579 Fixed Default object annotation resolution in pydantic models. (#1580)

* #1579 Fixed `Default` object annotation resolution in `pydantic` models. Reformat code.

* Bump mongo and Redis dependencies

* Update pydantic version constraints based on Python version

Adjusted the version constraints for the pydantic library in `pyproject.toml` to ensure compatibility with different Python versions. This helps maintain stability and compatibility across various development environments.

* Adjust version

* Fixed typo
This commit is contained in:
Alex Root Junior 2024-09-18 22:45:19 +03:00 committed by GitHub
parent b7d61b6379
commit f9f847f603
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 7 deletions

View file

@ -32,6 +32,7 @@ from aiogram.types import (
Message,
MessageReactionCountUpdated,
MessageReactionUpdated,
PaidMediaPurchased,
Poll,
PollAnswer,
PollOption,
@ -42,7 +43,6 @@ from aiogram.types import (
ShippingQuery,
Update,
User,
PaidMediaPurchased,
)
from aiogram.types.error_event import ErrorEvent
from tests.mocked_bot import MockedBot