iblrig.pydantic_definitions.HardwareSettingsCameraWorkflow

Inheritance diagram of HardwareSettingsCameraWorkflow

class iblrig.pydantic_definitions.HardwareSettingsCameraWorkflow[source]
classmethod valid_path(v)[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]] = {'recording': FieldInfo(annotation=Path, required=True, title='Camera recording workflow', description='The path to the Bonsai workflow for camera recording.', metadata=[PathType(path_type='file'), PlainSerializer(func=<function <lambda>>, return_type=<class 'str'>, when_used='always')]), 'setup': FieldInfo(annotation=Union[Annotated[Path, PathType, PlainSerializer], NoneType], required=False, default=None, title='Optional camera setup workflow', description='An optional path to the camera setup Bonsai workflow.')}

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.

recording: <lambda>, return_type=str, when_used=always)]
setup: <lambda>, return_type=str, when_used=always)] | None