Data Validation (indra_cogex.sources.processor_util)
- exception DataTypeError[source]
Bases:
TypeErrorRaised when a data value is not of the expected type
- data_validator(data_type, value)[source]
Validate that the data type matches the value.
- Parameters:
- Raises:
DataTypeError – If the value does not validate against the Neo4j data type.
UnknownTypeError – If data_type is not recognized as a Neo4j data type.