bovid.custom_data.domain_types module¶
Definitions of supported domain level custom data types.
NOTE to developers. This is a work in progress and currently only implements the sub-set of features in use currently.
This sets up the menu of different custom data types available for features such as custom fields.
This mostly sets up the global constants used in the rest of the modules.
The main items are:
- SUPPORTED_CUSTOM_DATATYPES :: This is a lookup table that maps the
CustomDataType spec (read ‘symbol’) to concrete data types with a convenient lookup by the type name. Currently there is only one concrete data type for each abstract type.
- class bovid.custom_data.domain_types.TypeRec¶
Bases:
NamedTupleTypeRec(name, type_spec, concrete_type)
- type_spec: CustomDataType¶
Alias for field number 1