Skip to content

Commit 2819701

Browse files
Update docs/persistence.rst
Co-authored-by: Quentin Pradet <[email protected]>
1 parent 7a40527 commit 2819701

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/persistence.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ can be added to a field to convert it to an array, similar to using the
186186
``multi=True`` argument on the field object.
187187

188188
When using type hints as above, subclasses of ``Document`` and ``InnerDoc``
189-
inherit some of the behaviors associated with Python dataclasses. If
190-
necessary, the ``mapped_field()`` wrapper can be used on the right side of a
191-
typed field declaration, enabling dataclass options such as ``default`` or
192-
``default_factory`` to be included:
189+
inherit some of the behaviors associated with Python dataclasses. To add
190+
per-field dataclass options such as ``default`` or ``default_factory`` , the
191+
``mapped_field()`` wrapper can be used on the right side of a typed field
192+
declaration:
193193

194194
.. code:: python
195195

0 commit comments

Comments
 (0)