iblrig.pydantic_definitions.HardwareSettingsBpod

Inheritance diagram of HardwareSettingsBpod

class iblrig.pydantic_definitions.HardwareSettingsBpod[source]
BPOD_TTL_TEST_DATE: date | None
BPOD_TTL_TEST_STATUS: str | None
COM_BPOD: str | None
DISABLE_BEHAVIOR_INPUT_PORTS: list[Annotated[int, Ge(ge=1), Le(le=4)]]
ROTARY_ENCODER_BPOD_PORT: Literal['Serial1', 'Serial2', 'Serial3', 'Serial4', 'Serial5', None]
SOUND_BOARD_BPOD_PORT: Literal['Serial1', 'Serial2', 'Serial3', 'Serial4', 'Serial5', None]
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.