iblrig.pydantic_definitions.HardwareSettingsScreen
- class iblrig.pydantic_definitions.HardwareSettingsScreen[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]] = {'DISPLAY_IDX': FieldInfo(annotation=int, required=True, metadata=[Ge(ge=0), Le(le=1)]), 'SCREEN_FREQ_TARGET': FieldInfo(annotation=int, required=True, metadata=[Gt(gt=0)]), 'SCREEN_FREQ_TEST_DATE': FieldInfo(annotation=Union[date, NoneType], required=False, default=None), 'SCREEN_FREQ_TEST_STATUS': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'SCREEN_LUX_DATE': FieldInfo(annotation=Union[date, NoneType], required=False, default=None), 'SCREEN_LUX_VALUE': FieldInfo(annotation=Union[float, NoneType], required=False, default=None)}
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.