benchling_sdk.services.v2.stable.workflow_task_service module¶
- class WorkflowTaskService¶
- Bases: - benchling_sdk.services.v2.base_service.BaseService- Workflow Tasks. - Workflow tasks encapsulate a single unit of work. - See https://benchling.com/api/reference#/Workflow%20Tasks - archive(workflow_task_ids: Iterable[str], reason: WorkflowTaskArchiveReason) WorkflowTasksArchivalChange¶
- Archive one or more workflow tasks. - See https://benchling.com/api/reference#/Workflow%20Tasks/archiveWorkflowTasks 
 - bulk_copy(workflow_task_ids: Iterable[str]) AsyncTaskLink¶
- Bulk copy workflow tasks. - Bulk creates new workflow tasks where each new task has the same fields and assignee as one of the provided tasks and creates a relationship between the provided task and its copy - See https://benchling.com/api/reference#/Workflow%20Tasks/bulkCopyWorkflowTasks 
 - bulk_create(workflow_tasks: Iterable[WorkflowTaskBulkCreate]) AsyncTaskLink¶
- Create one or more workflow tasks. - See https://benchling.com/api/reference#/Workflow%20Tasks/bulkCreateWorkflowTasks 
 - bulk_update(workflow_tasks: Iterable[WorkflowTaskBulkUpdate]) AsyncTaskLink¶
- Update one or more workflow tasks. - See https://benchling.com/api/reference#/Workflow%20Tasks/bulkUpdateWorkflowTasks 
 - copy(workflow_task_id: str) WorkflowTask¶
- Copy workflow task. - Creates a new workflow task with the same fields and assignee as the provided task and creates a relationship between the two tasks. - See https://benchling.com/api/reference#/Workflow%20Tasks/copyWorkflowTask 
 - create(workflow_task: WorkflowTaskCreate) WorkflowTask¶
- Create a new workflow task. - See https://benchling.com/api/reference#/Workflow%20Tasks/createWorkflowTask 
 - get_by_id(workflow_task_id: str) WorkflowTask¶
- Get a workflow task. - See https://benchling.com/api/reference#/Workflow%20Tasks/getWorkflowTask 
 - list(ids: Optional[Iterable[str]] = None, workflow_task_group_ids: Optional[Iterable[str]] = None, schema_id: Optional[str] = None, status_ids: Optional[Iterable[str]] = None, assignee_ids: Optional[Iterable[str]] = None, watcher_ids: Optional[Iterable[str]] = None, responsible_team_ids: Optional[Iterable[str]] = None, execution_origin_ids: Optional[Iterable[str]] = None, execution_types: Optional[Iterable[str]] = None, schema_fields: Optional[Dict[str, Any]] = None, name: Optional[str] = None, name_includes: Optional[str] = None, creator_ids: Optional[Iterable[str]] = None, scheduled_on: Union[None, ListWorkflowTasksScheduledOn, date, benchling_api_client.v2.extensions.UnknownType] = None, scheduled_on_lt: Optional[date] = None, scheduled_on_lte: Optional[date] = None, scheduled_on_gte: Optional[date] = None, scheduled_on_gt: Optional[date] = None, modified_at: Optional[str] = None, display_ids: Optional[Iterable[str]] = None, linked_item_ids_any_of: Optional[Iterable[str]] = None, linked_item_ids_all_of: Optional[Iterable[str]] = None, linked_item_ids_none_of: Optional[Iterable[str]] = None, archive_reason: Optional[str] = None, page_size: Optional[int] = None) PageIterator[WorkflowTask]¶
- List workflow tasks. - See https://benchling.com/api/reference#/Workflow%20Tasks/listWorkflowTasks 
 - unarchive(workflow_task_ids: Iterable[str]) WorkflowTasksArchivalChange¶
- Unarchive one or more workflow tasks. - See https://benchling.com/api/reference#/Workflow%20Tasks/unarchiveWorkflowTasks 
 - update(workflow_task_id: str, workflow_task: WorkflowTaskUpdate) WorkflowTask¶
- Update a workflow task. - See https://benchling.com/api/reference#/Workflow%20Tasks/updateWorkflowTask 
 
