diff --git a/mwdb/schema/object.py b/mwdb/schema/object.py index 83b6d502..13f5bbe6 100644 --- a/mwdb/schema/object.py +++ b/mwdb/schema/object.py @@ -14,6 +14,7 @@ from .tag import TagItemResponseSchema, TagRequestSchema from .utils import UTCDateTime + class ObjectListRequestSchema(Schema): page = fields.Int(missing=None) # legacy, to be removed in future query = fields.Str(missing=None) @@ -110,7 +111,11 @@ class ObjectItemResponseSchema(Schema): attribute="accessible_parents", ) children = fields.Nested( - ObjectListItemResponseSchema, many=True, required=True, allow_none=False, attribute='limit_children' + ObjectListItemResponseSchema, + many=True, + required=True, + allow_none=False, + attribute="limit_children", ) attributes = fields.Nested(