mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix link formatting for pydantic in migration docs (#1624)
This commit is contained in:
parent
b376949647
commit
0ff25804ae
2 changed files with 3 additions and 3 deletions
|
|
@ -230,11 +230,11 @@ msgstr ""
|
||||||
#: ../../migration_2_to_3.rst:71
|
#: ../../migration_2_to_3.rst:71
|
||||||
msgid ""
|
msgid ""
|
||||||
"All API methods are now classes with validation, implemented via "
|
"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."
|
"available as methods in the Bot class."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Всі методи API тепер є класами з валідацією, реалізованими через "
|
"Всі методи API тепер є класами з валідацією, реалізованими через "
|
||||||
"`pydantic <https://docs.pydantic.dev/>`. Ці виклики API також доступні як"
|
"`pydantic <https://docs.pydantic.dev/>`_. Ці виклики API також доступні як"
|
||||||
" методи в класі Bot."
|
" методи в класі Bot."
|
||||||
|
|
||||||
#: ../../migration_2_to_3.rst:74
|
#: ../../migration_2_to_3.rst:74
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ Bot API
|
||||||
=======
|
=======
|
||||||
|
|
||||||
- All API methods are now classes with validation, implemented via
|
- 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.
|
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.
|
- 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`.
|
For example, the chat type enum is now :class:`aiogram.enums.ChatType` instead of :class:`aiogram.types.chat.ChatType`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue