We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
To use a self class as a nested object use a text name of a class:
self
class Person(marshmallow.Model): name = marshmallow.fields.String() friend = marshmallow.NestedModel("Person") Person.load({"name": "John Doe", "friend": {"name": "Jane Doe"}})