iblrig.pydantic_definitions.HardwareSettingsValve
- class iblrig.pydantic_definitions.HardwareSettingsValve[source]
-
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'FREE_REWARD_VOLUME_UL': FieldInfo(annotation=float, required=False, default=1.5, metadata=[Gt(gt=0)]), 'WATER_CALIBRATION_DATE': FieldInfo(annotation=date, required=True), 'WATER_CALIBRATION_N': FieldInfo(annotation=int, required=False, default=5, metadata=[Ge(ge=3), Gt(gt=0)]), 'WATER_CALIBRATION_OPEN_TIMES': FieldInfo(annotation=list[Annotated[float, Gt]], required=True, metadata=[MinLen(min_length=2)]), 'WATER_CALIBRATION_RANGE': FieldInfo(annotation=list[Annotated[float, Gt]], required=True, metadata=[MinLen(min_length=2), MaxLen(max_length=2)]), 'WATER_CALIBRATION_WEIGHT_PERDROP': FieldInfo(annotation=list[float], required=False, default=typing.Annotated[float, Gt(gt=0)], metadata=[MinLen(min_length=2)])}
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.