Fix link formatting for pydantic in migration docs

This commit is contained in:
MackBook 2025-01-03 17:07:15 +03:00
parent b376949647
commit 0301ff5d78
2 changed files with 3 additions and 3 deletions

View file

@ -230,11 +230,11 @@ msgstr ""
#: ../../migration_2_to_3.rst:71
msgid ""
"All API methods are now classes with validation, implemented via "
"`pydantic <https://docs.pydantic.dev/>`. These API calls are also "
"`pydantic <https://docs.pydantic.dev/>`_. These API calls are also "
"available as methods in the Bot class."
msgstr ""
"Всі методи API тепер є класами з валідацією, реалізованими через "
"`pydantic <https://docs.pydantic.dev/>`. Ці виклики API також доступні як"
"`pydantic <https://docs.pydantic.dev/>`_. Ці виклики API також доступні як"
" методи в класі Bot."
#: ../../migration_2_to_3.rst:74

View file

@ -83,7 +83,7 @@ Bot API
=======
- All API methods are now classes with validation, implemented via
`pydantic <https://docs.pydantic.dev/>`.
`pydantic <https://docs.pydantic.dev/>`_.
These API calls are also available as methods in the Bot class.
- More pre-defined Enums have been added and moved to the `aiogram.enums` sub-package.
For example, the chat type enum is now :class:`aiogram.enums.ChatType` instead of :class:`aiogram.types.chat.ChatType`.