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.self
is explicitly positional-only to allowself
as a field name.- Parameters:
data (
Any
)
Methods
Check that TTL outputs and sources are mapped to unique integers
Attributes
model_config
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].