The schemas.dish_allocation module defines Marshmallow schemas that map TMC Central Node message classes to/from a JSON representation.

class DishAllocationSchema(*args, **kwargs)[source]

Marshmallow schema for the DishAllocation class.

create(data, **_)[source]

Convert parsed JSON back into a DishAllocation object.

  • data – Marshmallow-provided dict containing parsed JSON values
  • _ – kwargs passed by Marshmallow

DishAllocation object populated from data