Skip to content

flowmachine.core.server.query_schemas.aggregation_unit

Source: flowmachine/core/server/query_schemas/aggregation_unit.py

Definition of a custom marshmallow field for aggregation units, and function for getting the corresponding SpatialUnit object.

Class AggregationUnitKind

AggregationUnitKind(required=True, **kwargs)
Source: flowmachine/core/server/query_schemas/aggregation_unit.py

A string representing an aggregation unit (for example: "admin0", "admin1", "admin2", ...)

Attributes

Methods

_validate_all

_validate_all
Source: marshmallow/fields.py

context

context
Source: marshmallow/fields.py

The context dictionary for the parent :class:Schema.

default

default
Source: marshmallow/fields.py

missing

missing
Source: marshmallow/fields.py

Class AggregationUnitMixin

AggregationUnitMixin()
Source: flowmachine/core/server/query_schemas/aggregation_unit.py