benchling_sdk.services.v2.stable.oligo_service module¶

class OligoService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

Oligos (Deprecated).

Oligos are short linear DNA sequences that can be attached as primers to full DNA sequences. Just like other entities, they support schemas, tags, and aliases.

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos See https://benchling.com/api/reference#/DNA%20Oligos See https://benchling.com/api/reference#/RNA%20Oligos

archive(oligo_ids: Iterable[str], reason: EntityArchiveReason) → OligosArchivalChange¶

Archive Oligos (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/archiveOligos See https://benchling.com/api/reference#/DNA%20Oligos/archiveDNAOligos See https://benchling.com/api/reference#/RNA%20Oligos/archiveRNAOligos

bulk_create(oligos: Iterable[OligoCreate]) → TaskHelper[BulkCreateDnaOligosAsyncTaskResponse]¶

Bulk create DNA Oligos (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/bulkCreateOligos See https://benchling.com/api/reference#/DNA%20Oligos/bulkCreateDNAOligos See https://benchling.com/api/reference#/RNA%20Oligos/bulkCreateRNAOligos

bulk_get(oligo_ids: Iterable[str], returning: Optional[Iterable[str]] = None) → Optional[List[Union[DnaOligo, RnaOligo]]]¶

Bulk get Oligos.

See https://benchling.com/api/reference#/Oligos/bulkGetOligos

create(oligo: OligoCreate) → DnaOligo¶

Create an Oligo (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/createOligo See https://benchling.com/api/reference#/DNA%20Oligos/createDNAOligo See https://benchling.com/api/reference#/RNA%20Oligos/createRNAOligo

get_by_id(oligo_id: str, returning: Optional[Iterable[str]] = None) → DnaOligo¶

Get an Oligo by ID (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/getOligo See https://benchling.com/api/reference#/DNA%20Oligos/getDNAOligo See https://benchling.com/api/reference#/RNA%20Oligos/getRNAOligo

list(modified_at: Optional[str] = None, name: Optional[str] = None, bases: Optional[str] = None, folder_id: Optional[str] = None, mentioned_in: Optional[List[str]] = None, project_id: Optional[str] = None, registry_id: Optional[str] = None, schema_id: Optional[str] = None, archive_reason: Optional[str] = None, mentions: Optional[List[str]] = None, ids: Optional[Iterable[str]] = None, entity_registry_ids_any_of: Optional[Iterable[str]] = None, names_any_of: Optional[Iterable[str]] = None, names_any_of_case_sensitive: Optional[Iterable[str]] = None, schema_fields: Optional[Dict[str, Any]] = None, creator_ids: Optional[Iterable[str]] = None, sort: Optional[Union[str, ListOligosSort]] = None, page_size: Optional[int] = None, returning: Optional[Iterable[str]] = None) → PageIterator[Union[DnaOligo, RnaOligo, benchling_api_client.v2.extensions.UnknownType]]¶

List Oligos (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/listOligos See https://benchling.com/api/reference#/DNA%20Oligos/listDNAOligos See https://benchling.com/api/reference#/RNA%20Oligos/listRNAOligos

unarchive(oligo_ids: Iterable[str]) → OligosArchivalChange¶

Unarchive Oligos (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/unarchiveOligos See https://benchling.com/api/reference#/DNA%20Oligos/unarchiveDNAOligos See https://benchling.com/api/reference#/RNA%20Oligos/unarchiveRNAOligos

update(oligo_id: str, oligo: OligoUpdate) → DnaOligo¶

Update an Oligo (Deprecated).

Please migrate to the corresponding DNA/RNA Oligos endpoints.

See https://benchling.com/api/reference#/Oligos/updateOligo See https://benchling.com/api/reference#/DNA%20Oligos/updateDNAOligo See https://benchling.com/api/reference#/RNA%20Oligos/updateRNAOligo