class ListsUserSchema(object): """A docstring to prevent auto generated docstring""" pagination: PaginationSchema item_nb: int = number_field(minimum=0) items: typing.List[UserSchema] = nested_field( only=["id", "username", "display_name", "company"])
class RunSchema(object): sample: typing.List[SampleSchema] = nested_field(exclude=["runs"])
class SampleSchema(object): count: int runs: typing.List["RunSchema"] = nested_field(exclude=["sample"])
class WorldMapLegendModel: all_types: typing.List[WorldTileTypeModel] default_type: typing.Optional[WorldTileTypeModel] = nested_field( default=None)