storage
inventory
- pydantic model ochra.manager.proxy_models.storage.inventory.Inventory
Bases:
Inventory,RestProxyMixinInventory model representing a collection of containers and consumables. An inventory is typically associated with a station or device in the framework.
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 consumables: List[Consumable] [Optional]
List of consumable items in the inventory.
- field containers_max_capacity: int [Required]
Maximum number of containers allowed.
- field id: uuid.UUID [Optional]
Unique identifier for the data model instance.
- field module_path: str = None
The module path of the data model.