diff --git a/changes/710-maddosaurus.rst b/changes/710-maddosaurus.rst new file mode 100644 index 0000000..3ba98d4 --- /dev/null +++ b/changes/710-maddosaurus.rst @@ -0,0 +1 @@ +Update documentation to specify the use of ``pydantic.dataclasses.dataclass`` and subclassing ``pydantic.BaseModel``. diff --git a/docs/index.rst b/docs/index.rst index 2f4302e..dd07f19 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -136,6 +136,13 @@ Dataclasses work in python 3.6 using the `dataclasses backport package `_. + You can use all the standard pydantic field types and the resulting dataclass will be identical to the one created by the standard library ``dataclass`` decorator.