space

station

pydantic model ochra.manager.proxy_models.space.station.Station

Bases: Station, RestProxyMixin

Represents a laboratory station containing devices, robots, and inventory.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Fields:
field cls: str = None

The class name of the data model.

field collection: str = None

The name of the collection where the data model will be stored.

field devices: List[UUID] [Optional]

List of device IDs associated with the station.

field id: uuid.UUID [Optional]

Unique identifier for the data model instance.

field inventory: Inventory = None

Inventory associated with the station.

field location: Location [Required]

Physical location of the station.

field locked: UUID | None = None

Session ID of the user who has locked the station, if any.

field module_path: str = None

The module path of the data model.

field name: str [Required]

Station name.

field operation_record: List[Operation] [Optional]

History of operations performed.

field port: int = None

Network port number for the station.

field status: ActivityStatus = ActivityStatus.IDLE

Current operational status (default: IDLE).

field type: StationType [Required]

Station category/type.