benchling_sdk.services.v2.stable.warehouse_service module¶

class WarehouseService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

Warehouse.

Manage warehouse credentials.

See https://benchling.com/api/reference#/Warehouse

create_credentials(credentials: WarehouseCredentialsCreate) → WarehouseCredentials¶

Create Benchling Warehouse credentials.

Allows for programmatically generating credentials to connect to the Benchling warehouse. You must have a warehouse configured to access this endpoint.

The credentials will authenticate as the same user calling the API. Note that expires_in is required - only temporary credentials are currently allowed.

See https://benchling.com/api/reference#/Warehouse/createWarehouseCredentials