iblrig.pydantic_definitions.HardwareSettingsRotaryEncoder

Inheritance diagram of HardwareSettingsRotaryEncoder

class iblrig.pydantic_definitions.HardwareSettingsRotaryEncoder[source]
COM_ROTARY_ENCODER: str | None
WHEEL_DIAMETER_MM: float
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]] = {'COM_ROTARY_ENCODER': FieldInfo(annotation=Union[str, NoneType], required=True), 'WHEEL_DIAMETER_MM': FieldInfo(annotation=float, required=False, default=62.0)}

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.