ska_oso_pdm.schemas.shared

The schemas module defines Marshmallow schemas that are shared by various other serialisation schemas.

class NestedDict(*args: Any, **kwargs: Any)[source]

Field that serialises a list to a dict, with the specified attribute acting as key.

class UpperCasedField(*args: Any, **kwargs: Any)[source]

Field that serializes to an upper-case string and deserializes to a lower-case string.