You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class ChildSchema(Schema):
id = fields.Integer(required=True)
class TestSchema(Schema):
id = fields.Integer(required=True)
nested_fld = fields.Nested(ChildSchema, allow_none=True)
schema = TestSchema()
dumped = validate_and_dump(schema)
should result on a schema that allows the nested_fld to either conform to ChildSchema or to be None.
The text was updated successfully, but these errors were encountered:
should result on a schema that allows the
nested_fld
to either conform to ChildSchema or to be None.The text was updated successfully, but these errors were encountered: