I am getting a RecursionError trying to generate swagger with this schema:
class ZipStructureRowSchema(Schema):
name = fields.String(required=True)
sub_rows = fields.List(
fields.Nested("ZipStructureRowSchema"), load_from="subRows", dump_to="subRows"
)
class ZipPreviewResponseSchema(Schema):
preview = fields.List(fields.Nested(ZipStructureRowSchema))
As far as I can tell, this is valid according to Marshmallow. Thank you!
I am getting a RecursionError trying to generate swagger with this schema:
As far as I can tell, this is valid according to Marshmallow. Thank you!