benchling_sdk.services.v2.stable.project_service module¶

class ProjectService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

Projects.

Manage project objects.

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

archive(project_ids: Iterable[str], reason: ProjectsArchiveReason) → ProjectsArchivalChange¶

Archive Projects.

See https://benchling.com/api/reference#/Projects/archiveProjects

get_by_id(project_id: str) → Project¶

Get a Project by ID.

See https://benchling.com/api/reference#/Projects/getProject

list(*, sort: Optional[Union[str, ListProjectsSort]] = None, archive_reason: Optional[str] = None, ids: Optional[Iterable[str]] = None, name: Optional[str] = None, page_size: Optional[int] = 50) → PageIterator[Project]¶

List Projects.

See https://benchling.com/api/reference#/Projects/listProjects

unarchive(project_ids: Iterable[str]) → ProjectsArchivalChange¶

Unarchive Projects.

See https://benchling.com/api/reference#/Projects/unarchiveProjects