sgr_commhandler.validators
Contains validators for the different data types returned by data points.
Submodules
Functions
|
Builds a data point validator from a data type specification. |
Package Contents
- sgr_commhandler.validators.build_validator(type)
Builds a data point validator from a data type specification.
- Parameters:
type (Optional[DataTypeProduct]) – the data type specification
- Returns:
a data point validator
- Return type:
- Raises:
Exception – when data type has no supported validator