benchling_sdk.services.v2.stable.inventory_service module¶
- class InventoryService¶
Bases:
benchling_sdk.services.v2.base_service.BaseService
Inventory.
Manage inventory wide objects.
See https://benchling.com/api/reference#/Inventory
- __init__(client: benchling_api_client.v2.client.Client, retry_strategy: RetryStrategy)¶
Initialize inventory service.
- Parameters
client â Underlying generated Client.
retry_strategy â Retry strategy for failed HTTP calls
- validate_barcodes(registry_id: str, barcodes: Iterable[str]) List[BarcodeValidationResult] ¶
Validate barcodes.
See https://benchling.com/api/reference#/Inventory/validateBarcodes
- Parameters
registry_id â ID of the registry to validate barcodes in.
barcodes â The barcodes to validate
- Returns
A list of bardcode validation results
- Return type
List[BarcodeValidationResult]