dodal.devices.zebra.zebra_constants_mapping.ZebraMappingValidations#
- class dodal.devices.zebra.zebra_constants_mapping.ZebraMappingValidations[source]#
Raises an exception if field set to -1 is accessed, and validate against multiple fields mapping to the same integer
- Parameters:
data (
Any)
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- Parameters:
data (
Any)
Methods
Check that TTL outputs and sources are mapped to unique integers
Attributes
model_configConfiguration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].