Product Design
albert.collections.product_design.ProductDesignCollection
Bases: BaseCollection
ProductDesignCollection is a collection class for managing Product Design entities in the Albert platform.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
session
|
AlbertSession
|
The Albert session instance. |
required |
Methods:
Name | Description |
---|---|
get_unpacked_products |
Get unpacked products by inventory IDs. |
Attributes:
Name | Type | Description |
---|---|---|
base_path |
|
Source code in src/albert/collections/product_design.py
get_unpacked_products
get_unpacked_products(
*,
inventory_ids: list[InventoryId],
unpack_id: Literal[
"DESIGN", "PREDICTION"
] = "PREDICTION",
) -> list[UnpackedProductDesign]
Get unpacked products by inventory IDs.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
inventory_ids
|
list[InventoryId]
|
The inventory ids to get unpacked formulas for. |
required |
unpack_id
|
Literal['DESIGN', 'PREDICTION']
|
The ID for the unpack operation. |
'PREDICTION'
|
Returns:
Type | Description |
---|---|
list[UnpackedProductDesign]
|
The unpacked products/formulas. |