benchling-sdk 1.23.0a3__py3-none-any.whl → 1.23.0a4__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.
@@ -13,6 +13,7 @@ from benchling_api_client.v2.stable.api.assay_results import (
13
13
  list_assay_results,
14
14
  unarchive_assay_results,
15
15
  )
16
+ from benchling_api_client.v2.stable.types import UNSET, Unset
16
17
  from benchling_api_client.v2.types import Response
17
18
 
18
19
  from benchling_sdk.errors import raise_for_status
@@ -33,6 +34,7 @@ from benchling_sdk.models import (
33
34
  AssayResultIdsRequest,
34
35
  AssayResultIdsResponse,
35
36
  AssayResultsArchive,
37
+ AssayResultsArchiveReason,
36
38
  AssayResultsBulkCreateInTableRequest,
37
39
  AssayResultsBulkCreateRequest,
38
40
  AssayResultsCreateResponse,
@@ -215,7 +217,11 @@ class AssayResultService(BaseService):
215
217
  return self._task_helper_from_response(response, AssayResultsCreateResponse)
216
218
 
217
219
  @api_method
218
- def archive(self, assay_result_ids: Iterable[str]) -> AssayResultIdsResponse:
220
+ def archive(
221
+ self,
222
+ assay_result_ids: Iterable[str],
223
+ reason: Union[Unset, AssayResultsArchiveReason] = UNSET,
224
+ ) -> AssayResultIdsResponse:
219
225
  """
220
226
  Archive assay results.
221
227
 
@@ -225,8 +231,10 @@ class AssayResultService(BaseService):
225
231
 
226
232
  See https://benchling.com/api/reference#/Assay%20Results/archiveAssayResults
227
233
  """
228
- archive_request = AssayResultsArchive(assay_result_ids=list(assay_result_ids))
229
- response = archive_assay_results.sync_detailed(client=self.client, json_body=archive_request)
234
+ archive_request = AssayResultsArchive(assay_result_ids=list(assay_result_ids), reason=reason)
235
+ response = archive_assay_results.sync_detailed(
236
+ client=self.client, json_body=archive_request
237
+ )
230
238
  return model_from_detailed(response)
231
239
 
232
240
  @api_method
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: benchling-sdk
3
- Version: 1.23.0a3
3
+ Version: 1.23.0a4
4
4
  Summary: SDK for interacting with the Benchling Platform.
5
5
  License: Apache-2.0
6
6
  Author: Benchling Support
@@ -23,9 +23,9 @@ Requires-Dist: dataclasses-json (>=0.5.2,<0.6.0)
23
23
  Requires-Dist: httpx (>=0.23.0)
24
24
  Requires-Dist: jwcrypto (>=1.5.1,<2.0.0)
25
25
  Requires-Dist: ordered-set (>=4.1.0,<5.0.0)
26
- Requires-Dist: psutil (>=5.9.4,<6.0.0) ; python_version >= "3.11" and python_version < "4.0"
27
26
  Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
28
27
  Requires-Dist: python-jose[cryptography] (>=3.3.0,<4.0.0) ; extra == "python-jose"
28
+ Requires-Dist: tzdata (>=2025.2,<2026.0)
29
29
  Description-Content-Type: text/markdown
30
30
 
31
31
  # Benchling SDK
@@ -68,7 +68,7 @@ benchling_sdk/services/v2/stable/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
68
68
  benchling_sdk/services/v2/stable/aa_sequence_service.py,sha256=1lj610UU_1S7tvq_pGAd8WTHraNmGkE4wXAPqQaCRCg,16650
69
69
  benchling_sdk/services/v2/stable/api_service.py,sha256=e0RNp4Jne9UTaHOYMOxxXJpsyUO3WMSFPzN7hB8iliU,12371
70
70
  benchling_sdk/services/v2/stable/app_service.py,sha256=8G81xfmnb6VM22XlO19lC5rmXHuNsORsWc46tJRAais,23376
71
- benchling_sdk/services/v2/stable/assay_result_service.py,sha256=ArDAe7kScS1KZAXGH68hQ_ngjNdMYEAJc4pT5BDHRFA,13476
71
+ benchling_sdk/services/v2/stable/assay_result_service.py,sha256=inU02C4blmhLmYLm-jsDO7XFpkyOtFtvgfekFkKyybk,13694
72
72
  benchling_sdk/services/v2/stable/assay_run_service.py,sha256=_GLp0_Kp6kcPpTt4BT19-REDRrJ2laXVfOXbFZmnp3k,9053
73
73
  benchling_sdk/services/v2/stable/audit_service.py,sha256=aSYzjJsimXZTRX3t4Mk-Ay_J5mKxRoGzZgLIqNvs1Qw,1983
74
74
  benchling_sdk/services/v2/stable/blob_service.py,sha256=Hv5UuJ683jNIvffZDXGYsvLMATwjweEEnzP0SWOzLds,17138
@@ -125,7 +125,7 @@ benchling_sdk/services/v2/v2_alpha_service.py,sha256=5lbUv8r_6bRIrV32ZaD8UsZ7xGJ
125
125
  benchling_sdk/services/v2/v2_beta_service.py,sha256=DjmOIZSURH1Q3oAGWnXgQohEiHOOLek3mIoS-wE9YnY,5664
126
126
  benchling_sdk/services/v2/v2_stable_service.py,sha256=X6S55gZJpWSdYZp7vDszanv-r6jDGtPHMV-uJFsn4tc,31365
127
127
  benchling_sdk/services/v2_service.py,sha256=77N3-9YYrgjMUmEQviwPav_nrrUjg7AJppuQmwI5JoM,3092
128
- benchling_sdk-1.23.0a3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
129
- benchling_sdk-1.23.0a3.dist-info/METADATA,sha256=2ouL2_PLIN0grNyORxls_lTjYg5hzZt18wPJ6NP_GME,2060
130
- benchling_sdk-1.23.0a3.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
131
- benchling_sdk-1.23.0a3.dist-info/RECORD,,
128
+ benchling_sdk-1.23.0a4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
129
+ benchling_sdk-1.23.0a4.dist-info/METADATA,sha256=Sk7FnnL-P9Tgb3xQAN7FJxx_xYlColkJ31QdPaSqbUw,2008
130
+ benchling_sdk-1.23.0a4.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
131
+ benchling_sdk-1.23.0a4.dist-info/RECORD,,