benchling_sdk.services.v2.stable.request_service module¶

class RequestService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

Requests.

Requests allow scientists and teams to collaborate around experimental assays and workflows.

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

bulk_create_tasks(request_id: str, tasks: Iterable[RequestTasksBulkCreate]) → RequestTasksBulkCreateResponse¶

Create tasks for a Request.

See https://benchling.com/api/reference#/Requests/bulkCreateRequestTasks

bulk_get(*, request_ids: Optional[Iterable[str]] = None, display_ids: Optional[Iterable[str]] = None) → Optional[List[Request]]¶

Bulk get Requests.

See https://benchling.com/api/reference#/Requests/bulkGetRequests

bulk_update_tasks(request_id: str, tasks: Iterable[RequestTaskBase]) → RequestTasksBulkUpdateResponse¶

Update tasks for a Request.

See https://benchling.com/api/reference#/Requests/bulkUpdateRequestTasks

create(request: RequestCreate) → Request¶

Create a Request.

See https://benchling.com/api/reference#/Requests/createRequest

entry_request_fulfillments(entry_id: str, modified_at: Optional[str] = None, page_size: Optional[int] = None) → PageIterator[RequestFulfillment]¶

List Request Fulfillments.

See https://benchling.com/api/reference#/Requests/listRequestFulfillments

execute_sample_groups(request_id: str, sample_groups: SampleGroupsStatusUpdate) → None¶

Update the status of sample groups in a Request.

See https://benchling.com/api/reference#/Requests/executeRequestsSampleGroups

get_by_id(request_id: str) → Request¶

Get a Request by ID.

See https://benchling.com/api/reference#/Requests/getRequest

list(schema_id: str, request_status: Optional[RequestStatus] = None, min_created_time: Optional[int] = None, max_created_time: Optional[int] = None, page_size: Optional[int] = None) → PageIterator[Request]¶

List Requests.

See https://benchling.com/api/reference#/Requests/listRequests

request_fulfillment(request_fulfillment_id: str) → RequestFulfillment¶

Get a Request’s fulfillment.

See https://benchling.com/api/reference#/Requests/getRequestFulfillment

request_response(request_id: str) → RequestResponse¶

Get a Request’s response.

See https://benchling.com/api/reference#/Requests/getRequestResponse

update(request_id: str, request: RequestUpdate) → Request¶

Update a Request.

See https://benchling.com/api/reference#/Requests/patchRequest