benchling_sdk.services.v2.stable.dna_oligo_service module¶

class DnaOligoService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

DNA Oligos.

DNA 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. See https://benchling.com/api/reference#/DNA%20Oligos

archive(dna_oligo_ids: Iterable[str], reason: EntityArchiveReason) → DnaOligosArchivalChange¶

Archive DNA Oligos.

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

bulk_create(dna_oligos: Iterable[DnaOligoCreate]) → TaskHelper[BulkCreateDnaOligosAsyncTaskResponse]¶

Bulk create DNA Oligos.

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

bulk_update(dna_oligos: Iterable[DnaOligoBulkUpdate]) → TaskHelper[BulkUpdateDnaOligosAsyncTaskResponse]¶

Bulk update DNA oligos.

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

bulk_upsert(body: DnaOligosBulkUpsertRequest, returning: Optional[Iterable[str]] = None) → TaskHelper[BulkUpdateDnaOligosAsyncTaskResponse]¶

Bulk create or update DNA Oligos.

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

create(dna_oligo: DnaOligoCreate) → DnaOligo¶

Create a DNA Oligo.

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

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

Get a DNA Oligo by ID.

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

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, name_includes: Optional[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, ListDNAOligosSort]] = None, page_size: Optional[int] = None, author_idsany_of: Optional[Iterable[str]] = None, returning: Optional[Iterable[str]] = None, custom_notation_id: Optional[str] = None) → PageIterator[DnaOligo]¶

List DNA Oligos.

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

unarchive(dna_oligo_ids: Iterable[str]) → DnaOligosArchivalChange¶

Unarchive DNA Oligos.

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

update(oligo_id: str, dna_oligo: DnaOligoUpdate) → DnaOligo¶

Update a DNA Oligo.

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

upsert(entity_registry_id: str, dna_oligo: OligoUpsertRequest) → DnaOligo¶

Create or modify a DNA Oligo.

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