Skip to content

Commit 6445050

Browse files
committed
Update nested param documentation
close #1625
1 parent f786b14 commit 6445050

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/marshmallow/fields.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,7 @@ class ParentSchema(Schema):
452452
# No
453453
author = fields.Nested(UserSchema(), only=('id', 'name'))
454454
455-
:param nested: The Schema class or class name (string)
456-
to nest, or ``"self"`` to nest the :class:`Schema` within itself.
455+
:param nested: `Schema` instance, class, class name (string), or callable that returns a `Schema` instance.
457456
:param exclude: A list or tuple of fields to exclude.
458457
:param only: A list or tuple of fields to marshal. If `None`, all fields are marshalled.
459458
This parameter takes precedence over ``exclude``.

0 commit comments

Comments
 (0)