bovid.custom_data.type_spec module

Generic type for specifying abstract custom domain model data types.

class bovid.custom_data.type_spec.CustomDataType

Bases: Model

Model for a custom data type.

For atomic types this is just the name.

For parametric types such as collections this type can be extended with type params.

This model is basically a ‘symbol’ for referencing custom datatypes and in itself does not define a mapping to a concrete type.

type_name: str
__init__(type_name)

Method generated by attrs for class CustomDataType.

Parameters:

type_name (str)

Return type:

None