benchling-sdk 1.6.0a28__tar.gz → 1.7.0a0__tar.gz

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.
Files changed (103) hide show
  1. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/PKG-INFO +2 -2
  2. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_app_service.py +65 -1
  3. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/container_service.py +41 -0
  4. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/pyproject.toml +2 -2
  5. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/setup.py +2 -2
  6. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/LICENSE +0 -0
  7. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/README.md +0 -0
  8. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/__init__.py +0 -0
  9. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/__init__.py +0 -0
  10. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/config/__init__.py +0 -0
  11. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/config/decryption_provider.py +0 -0
  12. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/config/dependencies.py +0 -0
  13. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/config/mock_dependencies.py +0 -0
  14. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/config/scalars.py +0 -0
  15. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/framework.py +0 -0
  16. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/helpers/__init__.py +0 -0
  17. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/helpers/config_helpers.py +0 -0
  18. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/helpers/cryptography_helpers.py +0 -0
  19. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/helpers/manifest_helpers.py +0 -0
  20. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/helpers/session_helpers.py +0 -0
  21. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/apps/helpers/webhook_helpers.py +0 -0
  22. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/auth/__init__.py +0 -0
  23. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/auth/api_key_auth.py +0 -0
  24. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/auth/client_credentials_oauth2.py +0 -0
  25. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/benchling.py +0 -0
  26. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/docs/__init__.py +0 -0
  27. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/docs/__main__.py +0 -0
  28. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/errors.py +0 -0
  29. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/__init__.py +0 -0
  30. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/client_helpers.py +0 -0
  31. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/constants.py +0 -0
  32. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/decorators.py +0 -0
  33. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/file_helpers.py +0 -0
  34. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/logging_helpers.py +0 -0
  35. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/package_helpers.py +0 -0
  36. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/pagination_helpers.py +0 -0
  37. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/response_helpers.py +0 -0
  38. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/retry_helpers.py +0 -0
  39. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/serialization_helpers.py +0 -0
  40. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/helpers/transaction_manager.py +0 -0
  41. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/models/__init__.py +0 -0
  42. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/py.typed +0 -0
  43. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/__init__.py +0 -0
  44. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/__init__.py +0 -0
  45. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/alpha/__init__.py +0 -0
  46. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/alpha/v2_alpha_app_service.py +0 -0
  47. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/alpha/v2_alpha_dna_sequence_service.py +0 -0
  48. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/base_service.py +0 -0
  49. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/__init__.py +0 -0
  50. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_aa_sequence_service.py +0 -0
  51. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_custom_entity_service.py +0 -0
  52. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_dna_oligo_service.py +0 -0
  53. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_dna_sequence_service.py +0 -0
  54. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_entity_service.py +0 -0
  55. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_entry_service.py +0 -0
  56. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_rna_oligo_service.py +0 -0
  57. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/beta/v2_beta_worklist_service.py +0 -0
  58. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/__init__.py +0 -0
  59. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/aa_sequence_service.py +0 -0
  60. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/api_service.py +0 -0
  61. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/app_service.py +0 -0
  62. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/assay_result_service.py +0 -0
  63. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/assay_run_service.py +0 -0
  64. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/blob_service.py +0 -0
  65. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/box_service.py +0 -0
  66. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/custom_entity_service.py +0 -0
  67. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/dna_alignments_service.py +0 -0
  68. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/dna_oligo_service.py +0 -0
  69. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/dna_sequence_service.py +0 -0
  70. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/dropdown_service.py +0 -0
  71. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/entry_service.py +0 -0
  72. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/event_service.py +0 -0
  73. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/export_service.py +0 -0
  74. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/feature_library_service.py +0 -0
  75. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/folder_service.py +0 -0
  76. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/inventory_service.py +0 -0
  77. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/lab_automation_service.py +0 -0
  78. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/label_template_service.py +0 -0
  79. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/location_service.py +0 -0
  80. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/mixture_service.py +0 -0
  81. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/molecule_service.py +0 -0
  82. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/nucleotide_alignments_service.py +0 -0
  83. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/oligo_service.py +0 -0
  84. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/organization_service.py +0 -0
  85. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/plate_service.py +0 -0
  86. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/printer_service.py +0 -0
  87. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/project_service.py +0 -0
  88. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/registry_service.py +0 -0
  89. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/request_service.py +0 -0
  90. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/rna_oligo_service.py +0 -0
  91. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/rna_sequence_service.py +0 -0
  92. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/schema_service.py +0 -0
  93. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/task_service.py +0 -0
  94. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/team_service.py +0 -0
  95. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/user_service.py +0 -0
  96. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/warehouse_service.py +0 -0
  97. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/workflow_output_service.py +0 -0
  98. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/workflow_task_group_service.py +0 -0
  99. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/stable/workflow_task_service.py +0 -0
  100. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/v2_alpha_service.py +0 -0
  101. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/v2_beta_service.py +0 -0
  102. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2/v2_stable_service.py +0 -0
  103. {benchling_sdk-1.6.0a28 → benchling_sdk-1.7.0a0}/benchling_sdk/services/v2_service.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: benchling-sdk
3
- Version: 1.6.0a28
3
+ Version: 1.7.0a0
4
4
  Summary: SDK for interacting with the Benchling Platform.
5
5
  License: Apache-2.0
6
6
  Author: Benchling Support
@@ -18,7 +18,7 @@ Provides-Extra: python-jose
18
18
  Requires-Dist: PyYAML (>=6.0,<7.0)
19
19
  Requires-Dist: attrs (>=20.1.0,<23)
20
20
  Requires-Dist: backoff (>=1.10.0,<2.0.0)
21
- Requires-Dist: benchling-api-client (==2.0.97)
21
+ Requires-Dist: benchling-api-client (==2.0.109)
22
22
  Requires-Dist: certifi (>=2022.12.7)
23
23
  Requires-Dist: cryptography (>=38.0.3,<39.0.0); extra == "cryptography"
24
24
  Requires-Dist: dataclasses-json (>=0.5.2,<0.6.0)
@@ -1,4 +1,4 @@
1
- from typing import Iterable, List, Optional
1
+ from typing import Iterable, List, Optional, Union
2
2
 
3
3
  from benchling_api_client.v2.beta.api.apps import (
4
4
  archive_canvases,
@@ -8,6 +8,7 @@ from benchling_api_client.v2.beta.api.apps import (
8
8
  get_benchling_app_manifest,
9
9
  get_canvas,
10
10
  get_session_by_id,
11
+ list_canvases,
11
12
  list_sessions,
12
13
  put_benchling_app_manifest,
13
14
  unarchive_canvases,
@@ -22,7 +23,10 @@ from benchling_api_client.v2.beta.models.canvas_update import CanvasUpdate
22
23
  from benchling_api_client.v2.beta.models.canvases_archival_change import CanvasesArchivalChange
23
24
  from benchling_api_client.v2.beta.models.canvases_archive import CanvasesArchive
24
25
  from benchling_api_client.v2.beta.models.canvases_archive_reason import CanvasesArchiveReason
26
+ from benchling_api_client.v2.beta.models.canvases_paginated_list import CanvasesPaginatedList
25
27
  from benchling_api_client.v2.beta.models.canvases_unarchive import CanvasesUnarchive
28
+ from benchling_api_client.v2.beta.models.list_canvases_enabled import ListCanvasesEnabled
29
+ from benchling_api_client.v2.beta.models.list_canvases_sort import ListCanvasesSort
26
30
  from benchling_api_client.v2.beta.models.session import Session
27
31
  from benchling_api_client.v2.beta.models.session_create import SessionCreate
28
32
  from benchling_api_client.v2.beta.models.session_update import SessionUpdate
@@ -30,6 +34,7 @@ from benchling_api_client.v2.beta.models.sessions_paginated_list import Sessions
30
34
  from benchling_api_client.v2.stable.types import Response
31
35
 
32
36
  from benchling_sdk.errors import AppSessionClosedError, raise_for_status
37
+ from benchling_sdk.helpers.constants import _translate_to_string_enum
33
38
  from benchling_sdk.helpers.decorators import api_method
34
39
  from benchling_sdk.helpers.logging_helpers import log_deprecation
35
40
  from benchling_sdk.helpers.pagination_helpers import NextToken, PageIterator
@@ -95,6 +100,65 @@ class V2BetaAppService(BaseService):
95
100
  )
96
101
  return model_from_detailed(response)
97
102
 
103
+ @api_method
104
+ def _canvases_page(
105
+ self,
106
+ app_id: Optional[str] = None,
107
+ feature_id: Optional[str] = None,
108
+ resource_id: Optional[str] = None,
109
+ enabled: Optional[ListCanvasesEnabled] = None,
110
+ archive_reason: Optional[str] = None,
111
+ sort: Optional[Union[str, ListCanvasesSort]] = None,
112
+ next_token: NextToken = None,
113
+ page_size: Optional[int] = None,
114
+ ) -> Response[CanvasesPaginatedList]:
115
+ response = list_canvases.sync_detailed(
116
+ client=self.client,
117
+ app_id=none_as_unset(app_id),
118
+ feature_id=none_as_unset(feature_id),
119
+ resource_id=none_as_unset(resource_id),
120
+ enabled=none_as_unset(enabled),
121
+ archive_reason=none_as_unset(archive_reason),
122
+ sort=none_as_unset(_translate_to_string_enum(ListCanvasesSort, sort)),
123
+ next_token=none_as_unset(next_token),
124
+ page_size=none_as_unset(page_size),
125
+ )
126
+ raise_for_status(response)
127
+ return response # type: ignore
128
+
129
+ def list_canvases(
130
+ self,
131
+ app_id: Optional[str] = None,
132
+ feature_id: Optional[str] = None,
133
+ resource_id: Optional[str] = None,
134
+ enabled: Optional[ListCanvasesEnabled] = None,
135
+ archive_reason: Optional[str] = None,
136
+ sort: Optional[Union[str, ListCanvasesSort]] = None,
137
+ page_size: Optional[int] = None,
138
+ ) -> PageIterator[Session]:
139
+ """
140
+ List canvases.
141
+
142
+ See https://benchling.com/api/v2-beta/reference?availability=not-available#/Apps/listCanvases
143
+ """
144
+
145
+ def api_call(next_token: NextToken) -> Response[CanvasesPaginatedList]:
146
+ return self._canvases_page(
147
+ app_id=app_id,
148
+ feature_id=feature_id,
149
+ resource_id=resource_id,
150
+ enabled=enabled,
151
+ archive_reason=archive_reason,
152
+ sort=sort,
153
+ next_token=next_token,
154
+ page_size=page_size,
155
+ )
156
+
157
+ def results_extractor(body: CanvasesPaginatedList) -> Optional[List[Canvas]]:
158
+ return body.canvases
159
+
160
+ return PageIterator(api_call, results_extractor)
161
+
98
162
  @api_method
99
163
  def get_canvas(self, canvas_id: str) -> Canvas:
100
164
  """
@@ -58,6 +58,7 @@ from benchling_sdk.models import (
58
58
  MultipleContainersTransfer,
59
59
  MultipleContainersTransfersList,
60
60
  PrintLabels,
61
+ SampleRestrictionStatus,
61
62
  )
62
63
  from benchling_sdk.services.v2.base_service import BaseService
63
64
 
@@ -108,6 +109,14 @@ class ContainerService(BaseService):
108
109
  names_any_of: Optional[Iterable[str]] = None,
109
110
  names_any_of_case_sensitive: Optional[Iterable[str]] = None,
110
111
  creator_ids: Optional[Iterable[str]] = None,
112
+ checkout_assignee_ids_any_of: Optional[Iterable[str]] = None,
113
+ restricted_sample_party_ids_all_of: Optional[Iterable[str]] = None,
114
+ restricted_sample_party_ids_any_of: Optional[Iterable[str]] = None,
115
+ restricted_sample_party_ids_none_of: Optional[Iterable[str]] = None,
116
+ restriction_status: Optional[SampleRestrictionStatus] = None,
117
+ sample_owner_ids_all_of: Optional[Iterable[str]] = None,
118
+ sample_owner_ids_any_of: Optional[Iterable[str]] = None,
119
+ sample_owner_ids_none_of: Optional[Iterable[str]] = None,
111
120
  archive_reason: Optional[str] = None,
112
121
  schema_fields: Optional[Dict[str, Any]] = None,
113
122
  ) -> Response[ContainersPaginatedList]:
@@ -127,6 +136,22 @@ class ContainerService(BaseService):
127
136
  namesany_of=none_as_unset(optional_array_query_param(names_any_of)),
128
137
  namesany_ofcase_sensitive=none_as_unset(optional_array_query_param(names_any_of_case_sensitive)),
129
138
  creator_ids=none_as_unset(optional_array_query_param(creator_ids)),
139
+ checkout_assignee_idsany_of=none_as_unset(
140
+ optional_array_query_param(checkout_assignee_ids_any_of)
141
+ ),
142
+ restricted_sample_party_idsall_of=none_as_unset(
143
+ optional_array_query_param(restricted_sample_party_ids_all_of)
144
+ ),
145
+ restricted_sample_party_idsany_of=none_as_unset(
146
+ optional_array_query_param(restricted_sample_party_ids_any_of)
147
+ ),
148
+ restricted_sample_party_idsnone_of=none_as_unset(
149
+ optional_array_query_param(restricted_sample_party_ids_none_of)
150
+ ),
151
+ restriction_status=none_as_unset(restriction_status),
152
+ sample_owner_idsall_of=none_as_unset(optional_array_query_param(sample_owner_ids_all_of)),
153
+ sample_owner_idsany_of=none_as_unset(optional_array_query_param(sample_owner_ids_any_of)),
154
+ sample_owner_idsnone_of=none_as_unset(optional_array_query_param(sample_owner_ids_none_of)),
130
155
  archive_reason=none_as_unset(archive_reason),
131
156
  schema_fields=none_as_unset(schema_fields_query_param(schema_fields)),
132
157
  next_token=none_as_unset(next_token),
@@ -152,6 +177,14 @@ class ContainerService(BaseService):
152
177
  names_any_of: Optional[Iterable[str]] = None,
153
178
  names_any_of_case_sensitive: Optional[Iterable[str]] = None,
154
179
  creator_ids: Optional[Iterable[str]] = None,
180
+ checkout_assignee_ids_any_of: Optional[Iterable[str]] = None,
181
+ restricted_sample_party_ids_all_of: Optional[Iterable[str]] = None,
182
+ restricted_sample_party_ids_any_of: Optional[Iterable[str]] = None,
183
+ restricted_sample_party_ids_none_of: Optional[Iterable[str]] = None,
184
+ restriction_status: Optional[SampleRestrictionStatus] = None,
185
+ sample_owner_ids_all_of: Optional[Iterable[str]] = None,
186
+ sample_owner_ids_any_of: Optional[Iterable[str]] = None,
187
+ sample_owner_ids_none_of: Optional[Iterable[str]] = None,
155
188
  archive_reason: Optional[str] = None,
156
189
  schema_fields: Optional[Dict[str, Any]] = None,
157
190
  page_size: Optional[int] = None,
@@ -179,6 +212,14 @@ class ContainerService(BaseService):
179
212
  names_any_of=names_any_of,
180
213
  names_any_of_case_sensitive=names_any_of_case_sensitive,
181
214
  creator_ids=creator_ids,
215
+ checkout_assignee_ids_any_of=checkout_assignee_ids_any_of,
216
+ restricted_sample_party_ids_all_of=restricted_sample_party_ids_all_of,
217
+ restricted_sample_party_ids_any_of=restricted_sample_party_ids_any_of,
218
+ restricted_sample_party_ids_none_of=restricted_sample_party_ids_none_of,
219
+ restriction_status=restriction_status,
220
+ sample_owner_ids_all_of=sample_owner_ids_all_of,
221
+ sample_owner_ids_any_of=sample_owner_ids_any_of,
222
+ sample_owner_ids_none_of=sample_owner_ids_none_of,
182
223
  archive_reason=archive_reason,
183
224
  next_token=next_token,
184
225
  schema_fields=schema_fields,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "benchling-sdk"
3
- version = "1.6.0-alpha.28" # NOTE: This version number is ignored and does not correspond to releases (see README)
3
+ version = "1.7.0-alpha.0" # NOTE: This version number is ignored and does not correspond to releases (see README)
4
4
  description = "SDK for interacting with the Benchling Platform."
5
5
  authors = ["Benchling Support <support@benchling.com>"]
6
6
  packages = [{include = "benchling_sdk"}]
@@ -32,7 +32,7 @@ PyYAML = "^6.0"
32
32
  # See issue: https://github.com/giampaolo/psutil/issues/2165
33
33
  psutil = {version = "^5.9.4", python = "^3.11" }
34
34
  jwcrypto = "^1.4.2"
35
- benchling-api-client = "2.0.97"
35
+ benchling-api-client = "2.0.109"
36
36
  # Minimum version due to vulnerability in 2022.9.24
37
37
  certifi = ">=2022.12.7"
38
38
  # Cryptography extras - see ExtrasPackage.CRYPTOGRAPHY
@@ -23,7 +23,7 @@ install_requires = \
23
23
  ['PyYAML>=6.0,<7.0',
24
24
  'attrs>=20.1.0,<23',
25
25
  'backoff>=1.10.0,<2.0.0',
26
- 'benchling-api-client==2.0.97',
26
+ 'benchling-api-client==2.0.109',
27
27
  'certifi>=2022.12.7',
28
28
  'dataclasses-json>=0.5.2,<0.6.0',
29
29
  'httpx>=0.23.0',
@@ -39,7 +39,7 @@ extras_require = \
39
39
 
40
40
  setup_kwargs = {
41
41
  'name': 'benchling-sdk',
42
- 'version': '1.6.0a28',
42
+ 'version': '1.7.0a0',
43
43
  'description': 'SDK for interacting with the Benchling Platform.',
44
44
  'long_description': '# Benchling SDK\n\nA Python 3.7+ SDK for the [Benchling](https://www.benchling.com/) platform designed to provide typed, fluent\ninteractions with [Benchling APIs](https://docs.benchling.com/reference).\n\n## Installation\n\nInstall the dependency via [Poetry](https://python-poetry.org/) (if applicable):\n\n```bash\npoetry add benchling-sdk\n```\n \nOr [Pip](https://pypi.org/project/pip/):\n \n```bash\npip install benchling-sdk\n```\n\n## Documentation\n\nDocumentation for the SDK is kept up-to-date at [docs.benchling.com](https://docs.benchling.com), and you can get started with\nit using this guide:\n[https://docs.benchling.com/docs/getting-started-with-the-sdk](https://docs.benchling.com/docs/getting-started-with-the-sdk).\n\n## Support\n\nTo report issues with using the SDK, contact [support@benchling.com](mailto:support@benchling.com).\n',
45
45
  'author': 'Benchling Support',