benchling-sdk 1.12.0a0__py3-none-any.whl → 1.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +0,0 @@
1
- from benchling_api_client.v2.alpha.api.dna_sequences import find_matching_regions_dna_sequences
2
- from benchling_api_client.v2.alpha.api.dna_sequences.find_matching_regions_dna_sequences import (
3
- DnaSequencesFindMatchingRegion,
4
- )
5
-
6
- from benchling_sdk.helpers.decorators import api_method
7
- from benchling_sdk.helpers.response_helpers import model_from_detailed
8
- from benchling_sdk.models import AsyncTaskLink
9
- from benchling_sdk.services.v2.base_service import BaseService
10
-
11
-
12
- class V2AlphaDnaSequenceService(BaseService):
13
- """
14
- V2-Alpha DNA Sequences.
15
-
16
- DNA sequences are the bread and butter of the Benchling Molecular Biology suite. On Benchling, these are
17
- comprised of a string of nucleotides and collections of other attributes, such as annotations and primers.
18
-
19
- See https://benchling.com/api/v2-alpha/reference#/DNA%20Sequences
20
- """
21
-
22
- @api_method
23
- def find_matching_regions(self, find_matching_region: DnaSequencesFindMatchingRegion) -> AsyncTaskLink:
24
- """
25
- Find matching regions for DNA sequences.
26
-
27
- See https://benchling.com/api/v2-alpha/reference#/DNA%20Sequences/findMatchingRegionsDnaSequences
28
- """
29
- response = find_matching_regions_dna_sequences.sync_detailed(
30
- client=self.client, json_body=find_matching_region
31
- )
32
- return model_from_detailed(response)
@@ -1,33 +0,0 @@
1
- from benchling_api_client.v2.beta.api.aa_sequences import find_matching_regions_aa_sequences
2
- from benchling_api_client.v2.beta.models.aa_sequences_find_matching_region import (
3
- AaSequencesFindMatchingRegion,
4
- )
5
-
6
- from benchling_sdk.helpers.decorators import api_method
7
- from benchling_sdk.helpers.response_helpers import model_from_detailed
8
- from benchling_sdk.models import AsyncTaskLink
9
- from benchling_sdk.services.v2.base_service import BaseService
10
-
11
-
12
- class V2BetaAaSequenceService(BaseService):
13
- """
14
- V2-Beta AA Sequences.
15
-
16
- AA Sequences are the working units of cells that make everything run (they help make structures, catalyze
17
- reactions and allow for signaling - a kind of internal cell communication). On Benchling, these are comprised
18
- of a string of amino acids and collections of other attributes, such as annotations.
19
-
20
- See https://benchling.com/api/v2-beta/reference#/AA%20Sequences
21
- """
22
-
23
- @api_method
24
- def find_matching_regions(self, find_matching_region: AaSequencesFindMatchingRegion) -> AsyncTaskLink:
25
- """
26
- Find matching regions for AA sequences.
27
-
28
- See https://benchling.com/api/v2-beta/reference#/AA%20Sequences/findMatchingRegionsAaSequences
29
- """
30
- response = find_matching_regions_aa_sequences.sync_detailed(
31
- client=self.client, json_body=find_matching_region
32
- )
33
- return model_from_detailed(response)