Skip to content

Commit

Permalink
Update docs to explain which Pydantic version is support by which ver…
Browse files Browse the repository at this point in the history
…sion of py-avro-schema
  • Loading branch information
faph committed Sep 13, 2023
1 parent 668c846 commit 6d1e5b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Recursive or repeated reference to the same Python dataclass is supported. After
:class:`pydantic.BaseModel`
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Supports Python classes inheriting from `pydantic.BaseModel <https://pydantic-docs.helpmanual.io/usage/models/>`_.
Supports Pydantic version 1.x only at the moment.
Supports Python classes inheriting from `pydantic.BaseModel <https://docs.pydantic.dev/latest/usage/models/>`_.
Requires Pydantic version 2 or greater. For Pydantic 1 support, use **py-avro-schema** version 2.

.. (No intersphinx for Pydantic, unfortunately.)
Expand Down

0 comments on commit 6d1e5b7

Please sign in to comment.