iblrig.pydantic_definitions.HardwareSettingsBpod
- class iblrig.pydantic_definitions.HardwareSettingsBpod[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]] = {'BPOD_TTL_TEST_DATE': FieldInfo(annotation=Union[date, NoneType], required=False, default=None), 'BPOD_TTL_TEST_STATUS': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'COM_BPOD': FieldInfo(annotation=Union[str, NoneType], required=True), 'DISABLE_BEHAVIOR_INPUT_PORTS': FieldInfo(annotation=list[Annotated[int, Ge, Le]], required=False, default=[2, 3, 4]), 'ROTARY_ENCODER_BPOD_PORT': FieldInfo(annotation=Literal['Serial1', 'Serial2', 'Serial3', 'Serial4', 'Serial5', None], required=False, default=None), 'SOUND_BOARD_BPOD_PORT': FieldInfo(annotation=Literal['Serial1', 'Serial2', 'Serial3', 'Serial4', 'Serial5', None], 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.