79758277

Date: 2025-09-07 18:14:39
Score: 1
Natty:
Report link

You just need to make StoreSchema inherit from PlainStoreSchema so that id and name are included:

class StoreSchema(PlainStoreSchema):
    items = fields.List(fields.Nested(PlainItemSchema()), dump_only=True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ghassen Hnid