benchling-api-client 2.0.409__py3-none-any.whl → 2.0.411__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.
- benchling_api_client/models/container_bulk_update_item.py +40 -0
- benchling_api_client/v2/alpha/openapi.yaml +0 -1
- benchling_api_client/v2/beta/openapi.yaml +0 -1
- benchling_api_client/v2/stable/models/container_bulk_update_item.py +40 -0
- benchling_api_client/v2/stable/openapi.yaml +5 -1
- {benchling_api_client-2.0.409.dist-info → benchling_api_client-2.0.411.dist-info}/METADATA +1 -1
- {benchling_api_client-2.0.409.dist-info → benchling_api_client-2.0.411.dist-info}/RECORD +9 -9
- {benchling_api_client-2.0.409.dist-info → benchling_api_client-2.0.411.dist-info}/LICENSE +0 -0
- {benchling_api_client-2.0.409.dist-info → benchling_api_client-2.0.411.dist-info}/WHEEL +0 -0
|
@@ -5,6 +5,7 @@ import attr
|
|
|
5
5
|
from ..extensions import NotPresentError
|
|
6
6
|
from ..models.container_quantity import ContainerQuantity
|
|
7
7
|
from ..models.deprecated_container_volume_for_input import DeprecatedContainerVolumeForInput
|
|
8
|
+
from ..models.experimental_well_role import ExperimentalWellRole
|
|
8
9
|
from ..models.fields import Fields
|
|
9
10
|
from ..models.measurement import Measurement
|
|
10
11
|
from ..models.sample_restriction_status import SampleRestrictionStatus
|
|
@@ -21,6 +22,7 @@ class ContainerBulkUpdateItem:
|
|
|
21
22
|
_barcode: Union[Unset, str] = UNSET
|
|
22
23
|
_concentration: Union[Unset, Measurement] = UNSET
|
|
23
24
|
_quantity: Union[Unset, ContainerQuantity] = UNSET
|
|
25
|
+
_role: Union[Unset, None, ExperimentalWellRole] = UNSET
|
|
24
26
|
_volume: Union[Unset, DeprecatedContainerVolumeForInput] = UNSET
|
|
25
27
|
_fields: Union[Unset, Fields] = UNSET
|
|
26
28
|
_name: Union[Unset, str] = UNSET
|
|
@@ -36,6 +38,7 @@ class ContainerBulkUpdateItem:
|
|
|
36
38
|
fields.append("barcode={}".format(repr(self._barcode)))
|
|
37
39
|
fields.append("concentration={}".format(repr(self._concentration)))
|
|
38
40
|
fields.append("quantity={}".format(repr(self._quantity)))
|
|
41
|
+
fields.append("role={}".format(repr(self._role)))
|
|
39
42
|
fields.append("volume={}".format(repr(self._volume)))
|
|
40
43
|
fields.append("fields={}".format(repr(self._fields)))
|
|
41
44
|
fields.append("name={}".format(repr(self._name)))
|
|
@@ -57,6 +60,10 @@ class ContainerBulkUpdateItem:
|
|
|
57
60
|
if not isinstance(self._quantity, Unset):
|
|
58
61
|
quantity = self._quantity.to_dict()
|
|
59
62
|
|
|
63
|
+
role: Union[Unset, None, Dict[str, Any]] = UNSET
|
|
64
|
+
if not isinstance(self._role, Unset):
|
|
65
|
+
role = self._role.to_dict() if self._role else None
|
|
66
|
+
|
|
60
67
|
volume: Union[Unset, Dict[str, Any]] = UNSET
|
|
61
68
|
if not isinstance(self._volume, Unset):
|
|
62
69
|
volume = self._volume.to_dict()
|
|
@@ -90,6 +97,8 @@ class ContainerBulkUpdateItem:
|
|
|
90
97
|
field_dict["concentration"] = concentration
|
|
91
98
|
if quantity is not UNSET:
|
|
92
99
|
field_dict["quantity"] = quantity
|
|
100
|
+
if role is not UNSET:
|
|
101
|
+
field_dict["role"] = role
|
|
93
102
|
if volume is not UNSET:
|
|
94
103
|
field_dict["volume"] = volume
|
|
95
104
|
if fields is not UNSET:
|
|
@@ -165,6 +174,22 @@ class ContainerBulkUpdateItem:
|
|
|
165
174
|
raise
|
|
166
175
|
quantity = cast(Union[Unset, ContainerQuantity], UNSET)
|
|
167
176
|
|
|
177
|
+
def get_role() -> Union[Unset, None, ExperimentalWellRole]:
|
|
178
|
+
role = None
|
|
179
|
+
_role = d.pop("role")
|
|
180
|
+
|
|
181
|
+
if _role is not None and not isinstance(_role, Unset):
|
|
182
|
+
role = ExperimentalWellRole.from_dict(_role)
|
|
183
|
+
|
|
184
|
+
return role
|
|
185
|
+
|
|
186
|
+
try:
|
|
187
|
+
role = get_role()
|
|
188
|
+
except KeyError:
|
|
189
|
+
if strict:
|
|
190
|
+
raise
|
|
191
|
+
role = cast(Union[Unset, None, ExperimentalWellRole], UNSET)
|
|
192
|
+
|
|
168
193
|
def get_volume() -> Union[Unset, DeprecatedContainerVolumeForInput]:
|
|
169
194
|
volume: Union[Unset, Union[Unset, DeprecatedContainerVolumeForInput]] = UNSET
|
|
170
195
|
_volume = d.pop("volume")
|
|
@@ -266,6 +291,7 @@ class ContainerBulkUpdateItem:
|
|
|
266
291
|
barcode=barcode,
|
|
267
292
|
concentration=concentration,
|
|
268
293
|
quantity=quantity,
|
|
294
|
+
role=role,
|
|
269
295
|
volume=volume,
|
|
270
296
|
fields=fields,
|
|
271
297
|
name=name,
|
|
@@ -351,6 +377,20 @@ class ContainerBulkUpdateItem:
|
|
|
351
377
|
def quantity(self) -> None:
|
|
352
378
|
self._quantity = UNSET
|
|
353
379
|
|
|
380
|
+
@property
|
|
381
|
+
def role(self) -> Optional[ExperimentalWellRole]:
|
|
382
|
+
if isinstance(self._role, Unset):
|
|
383
|
+
raise NotPresentError(self, "role")
|
|
384
|
+
return self._role
|
|
385
|
+
|
|
386
|
+
@role.setter
|
|
387
|
+
def role(self, value: Optional[ExperimentalWellRole]) -> None:
|
|
388
|
+
self._role = value
|
|
389
|
+
|
|
390
|
+
@role.deleter
|
|
391
|
+
def role(self) -> None:
|
|
392
|
+
self._role = UNSET
|
|
393
|
+
|
|
354
394
|
@property
|
|
355
395
|
def volume(self) -> DeprecatedContainerVolumeForInput:
|
|
356
396
|
"""Desired volume for a container, well, or transfer. "volume" type keys are deprecated in API requests; use the more permissive "quantity" type key instead."""
|
|
@@ -5,6 +5,7 @@ import attr
|
|
|
5
5
|
from ..extensions import NotPresentError
|
|
6
6
|
from ..models.container_quantity import ContainerQuantity
|
|
7
7
|
from ..models.deprecated_container_volume_for_input import DeprecatedContainerVolumeForInput
|
|
8
|
+
from ..models.experimental_well_role import ExperimentalWellRole
|
|
8
9
|
from ..models.fields import Fields
|
|
9
10
|
from ..models.measurement import Measurement
|
|
10
11
|
from ..models.sample_restriction_status import SampleRestrictionStatus
|
|
@@ -21,6 +22,7 @@ class ContainerBulkUpdateItem:
|
|
|
21
22
|
_barcode: Union[Unset, str] = UNSET
|
|
22
23
|
_concentration: Union[Unset, Measurement] = UNSET
|
|
23
24
|
_quantity: Union[Unset, ContainerQuantity] = UNSET
|
|
25
|
+
_role: Union[Unset, None, ExperimentalWellRole] = UNSET
|
|
24
26
|
_volume: Union[Unset, DeprecatedContainerVolumeForInput] = UNSET
|
|
25
27
|
_fields: Union[Unset, Fields] = UNSET
|
|
26
28
|
_name: Union[Unset, str] = UNSET
|
|
@@ -36,6 +38,7 @@ class ContainerBulkUpdateItem:
|
|
|
36
38
|
fields.append("barcode={}".format(repr(self._barcode)))
|
|
37
39
|
fields.append("concentration={}".format(repr(self._concentration)))
|
|
38
40
|
fields.append("quantity={}".format(repr(self._quantity)))
|
|
41
|
+
fields.append("role={}".format(repr(self._role)))
|
|
39
42
|
fields.append("volume={}".format(repr(self._volume)))
|
|
40
43
|
fields.append("fields={}".format(repr(self._fields)))
|
|
41
44
|
fields.append("name={}".format(repr(self._name)))
|
|
@@ -57,6 +60,10 @@ class ContainerBulkUpdateItem:
|
|
|
57
60
|
if not isinstance(self._quantity, Unset):
|
|
58
61
|
quantity = self._quantity.to_dict()
|
|
59
62
|
|
|
63
|
+
role: Union[Unset, None, Dict[str, Any]] = UNSET
|
|
64
|
+
if not isinstance(self._role, Unset):
|
|
65
|
+
role = self._role.to_dict() if self._role else None
|
|
66
|
+
|
|
60
67
|
volume: Union[Unset, Dict[str, Any]] = UNSET
|
|
61
68
|
if not isinstance(self._volume, Unset):
|
|
62
69
|
volume = self._volume.to_dict()
|
|
@@ -90,6 +97,8 @@ class ContainerBulkUpdateItem:
|
|
|
90
97
|
field_dict["concentration"] = concentration
|
|
91
98
|
if quantity is not UNSET:
|
|
92
99
|
field_dict["quantity"] = quantity
|
|
100
|
+
if role is not UNSET:
|
|
101
|
+
field_dict["role"] = role
|
|
93
102
|
if volume is not UNSET:
|
|
94
103
|
field_dict["volume"] = volume
|
|
95
104
|
if fields is not UNSET:
|
|
@@ -165,6 +174,22 @@ class ContainerBulkUpdateItem:
|
|
|
165
174
|
raise
|
|
166
175
|
quantity = cast(Union[Unset, ContainerQuantity], UNSET)
|
|
167
176
|
|
|
177
|
+
def get_role() -> Union[Unset, None, ExperimentalWellRole]:
|
|
178
|
+
role = None
|
|
179
|
+
_role = d.pop("role")
|
|
180
|
+
|
|
181
|
+
if _role is not None and not isinstance(_role, Unset):
|
|
182
|
+
role = ExperimentalWellRole.from_dict(_role)
|
|
183
|
+
|
|
184
|
+
return role
|
|
185
|
+
|
|
186
|
+
try:
|
|
187
|
+
role = get_role()
|
|
188
|
+
except KeyError:
|
|
189
|
+
if strict:
|
|
190
|
+
raise
|
|
191
|
+
role = cast(Union[Unset, None, ExperimentalWellRole], UNSET)
|
|
192
|
+
|
|
168
193
|
def get_volume() -> Union[Unset, DeprecatedContainerVolumeForInput]:
|
|
169
194
|
volume: Union[Unset, Union[Unset, DeprecatedContainerVolumeForInput]] = UNSET
|
|
170
195
|
_volume = d.pop("volume")
|
|
@@ -266,6 +291,7 @@ class ContainerBulkUpdateItem:
|
|
|
266
291
|
barcode=barcode,
|
|
267
292
|
concentration=concentration,
|
|
268
293
|
quantity=quantity,
|
|
294
|
+
role=role,
|
|
269
295
|
volume=volume,
|
|
270
296
|
fields=fields,
|
|
271
297
|
name=name,
|
|
@@ -351,6 +377,20 @@ class ContainerBulkUpdateItem:
|
|
|
351
377
|
def quantity(self) -> None:
|
|
352
378
|
self._quantity = UNSET
|
|
353
379
|
|
|
380
|
+
@property
|
|
381
|
+
def role(self) -> Optional[ExperimentalWellRole]:
|
|
382
|
+
if isinstance(self._role, Unset):
|
|
383
|
+
raise NotPresentError(self, "role")
|
|
384
|
+
return self._role
|
|
385
|
+
|
|
386
|
+
@role.setter
|
|
387
|
+
def role(self, value: Optional[ExperimentalWellRole]) -> None:
|
|
388
|
+
self._role = value
|
|
389
|
+
|
|
390
|
+
@role.deleter
|
|
391
|
+
def role(self) -> None:
|
|
392
|
+
self._role = UNSET
|
|
393
|
+
|
|
354
394
|
@property
|
|
355
395
|
def volume(self) -> DeprecatedContainerVolumeForInput:
|
|
356
396
|
"""Desired volume for a container, well, or transfer. "volume" type keys are deprecated in API requests; use the more permissive "quantity" type key instead."""
|
|
@@ -25010,6 +25010,11 @@ components:
|
|
|
25010
25010
|
type: string
|
|
25011
25011
|
quantity:
|
|
25012
25012
|
$ref: '#/components/schemas/ContainerQuantity'
|
|
25013
|
+
role:
|
|
25014
|
+
allOf:
|
|
25015
|
+
- $ref: '#/components/schemas/ExperimentalWellRole'
|
|
25016
|
+
description: Role of a well in a well plate.
|
|
25017
|
+
nullable: true
|
|
25013
25018
|
volume:
|
|
25014
25019
|
$ref: '#/components/schemas/DeprecatedContainerVolumeForInput'
|
|
25015
25020
|
required:
|
|
@@ -31200,7 +31205,6 @@ components:
|
|
|
31200
31205
|
allOf:
|
|
31201
31206
|
- $ref: '#/components/schemas/OligoBaseRequest'
|
|
31202
31207
|
- required:
|
|
31203
|
-
- bases
|
|
31204
31208
|
- name
|
|
31205
31209
|
OligoBulkUpsertRequest:
|
|
31206
31210
|
allOf:
|
|
@@ -805,7 +805,7 @@ benchling_api_client/models/conflict_error.py,sha256=nzfkpk9KVIFhVQZN3AoCoDPWNby
|
|
|
805
805
|
benchling_api_client/models/conflict_error_error.py,sha256=F4xcn8d89_Ybw-JyXjTxjvwML6G2rU_bxXjrkwkCf34,6114
|
|
806
806
|
benchling_api_client/models/conflict_error_error_conflicts_item.py,sha256=mgocO5NkTrRYat2sFSwsRUaM1cfQCzWHRf6sHpu5L-Y,1604
|
|
807
807
|
benchling_api_client/models/container.py,sha256=gz8-3uU2bjxa4WwcT5oPVO0PWXdYDHzxlqDThTcc3TY,33459
|
|
808
|
-
benchling_api_client/models/container_bulk_update_item.py,sha256=
|
|
808
|
+
benchling_api_client/models/container_bulk_update_item.py,sha256=osBFRG24iEBx3do3krsVF1f98hBqB5826SY50BLr648,17648
|
|
809
809
|
benchling_api_client/models/container_content.py,sha256=6nZtmEoTQ_DNz9KljQddmRVzN2AX1Twi27RCfeuuhkQ,13099
|
|
810
810
|
benchling_api_client/models/container_content_update.py,sha256=Hwvze4CVwVrOzLDnEY5tors0r5qa4ulJfPrLQq4u_A0,1858
|
|
811
811
|
benchling_api_client/models/container_contents_list.py,sha256=sgRFKQi5mPrBfftMosd9U98BFvr6Q3nVyCDpZQ0fuU0,3284
|
|
@@ -2118,7 +2118,7 @@ benchling_api_client/v2/alpha/models/user_validation_validation_status.py,sha256
|
|
|
2118
2118
|
benchling_api_client/v2/alpha/models/workflow_task_schema_dependency.py,sha256=yVI3BdgsL8w4eoTPSlzZwA_4RJd4Igt4xnbOPc862zo,8226
|
|
2119
2119
|
benchling_api_client/v2/alpha/models/workflow_task_schema_dependency_output.py,sha256=VSUorIgg3VetmPLa-HNpviFZ2MEuLC35Klj1mdujzRo,3838
|
|
2120
2120
|
benchling_api_client/v2/alpha/models/workflow_task_schema_dependency_type.py,sha256=mi7_dLXJ5p5o_QS2dfq4J2UwT2TOTKeh0prqgP4aS7Y,781
|
|
2121
|
-
benchling_api_client/v2/alpha/openapi.yaml,sha256=
|
|
2121
|
+
benchling_api_client/v2/alpha/openapi.yaml,sha256=f5Q5Mol5SpsN1wNV2yQiCq0sBcUI278C08REyAOhXts,225193
|
|
2122
2122
|
benchling_api_client/v2/alpha/types.py,sha256=nCpxtn44qMDpuS_jcdbjhJlZFvRrXEUEVEDN471GrH8,244
|
|
2123
2123
|
benchling_api_client/v2/auth/__init__.py,sha256=N4pJYVUnTLzg5HO9ZldHaI-Am97i6AOCdQS0M5QcVpA,120
|
|
2124
2124
|
benchling_api_client/v2/auth/api_key_auth.py,sha256=_z7albjrstwL675sSoPrPSG7VG1F8pz0ktbzdF2D2w8,627
|
|
@@ -2516,7 +2516,7 @@ benchling_api_client/v2/beta/models/worksheet_review_changes.py,sha256=0MmkysLeA
|
|
|
2516
2516
|
benchling_api_client/v2/beta/models/worksheet_review_changes_by_id.py,sha256=UgTNMq3Q_ZcIumMhd8irgQAZjXCFFQeE33b_WiiYgDU,3344
|
|
2517
2517
|
benchling_api_client/v2/beta/models/worksheet_review_changes_review_record.py,sha256=vYjl1dskegWel0XUx2d0UEFhM5pQ_FKjGZNwKkYTHbQ,6202
|
|
2518
2518
|
benchling_api_client/v2/beta/models/worksheet_review_changes_review_record_status.py,sha256=9VKJkUCQCFCdkJnV8-JLRQObhO0cTJf2ZeZnBIEyPFA,1093
|
|
2519
|
-
benchling_api_client/v2/beta/openapi.yaml,sha256=
|
|
2519
|
+
benchling_api_client/v2/beta/openapi.yaml,sha256=w4IbvNUhw2MSr-Ng41Mi4_rpS0Et-2bdkzN8Bqlk4vs,242699
|
|
2520
2520
|
benchling_api_client/v2/beta/types.py,sha256=nCpxtn44qMDpuS_jcdbjhJlZFvRrXEUEVEDN471GrH8,244
|
|
2521
2521
|
benchling_api_client/v2/client.py,sha256=-6Yzio8p22BaTJ_BEInEoUzmh4afxXlwceNFtn1vBLc,2241
|
|
2522
2522
|
benchling_api_client/v2/extensions.py,sha256=4TSjnmlUquvmBu8up1vPXutEInf-oXDSZ58ciyBW7_E,1996
|
|
@@ -3326,7 +3326,7 @@ benchling_api_client/v2/stable/models/conflict_error.py,sha256=nzfkpk9KVIFhVQZN3
|
|
|
3326
3326
|
benchling_api_client/v2/stable/models/conflict_error_error.py,sha256=F4xcn8d89_Ybw-JyXjTxjvwML6G2rU_bxXjrkwkCf34,6114
|
|
3327
3327
|
benchling_api_client/v2/stable/models/conflict_error_error_conflicts_item.py,sha256=mgocO5NkTrRYat2sFSwsRUaM1cfQCzWHRf6sHpu5L-Y,1604
|
|
3328
3328
|
benchling_api_client/v2/stable/models/container.py,sha256=gz8-3uU2bjxa4WwcT5oPVO0PWXdYDHzxlqDThTcc3TY,33459
|
|
3329
|
-
benchling_api_client/v2/stable/models/container_bulk_update_item.py,sha256=
|
|
3329
|
+
benchling_api_client/v2/stable/models/container_bulk_update_item.py,sha256=osBFRG24iEBx3do3krsVF1f98hBqB5826SY50BLr648,17648
|
|
3330
3330
|
benchling_api_client/v2/stable/models/container_content.py,sha256=6nZtmEoTQ_DNz9KljQddmRVzN2AX1Twi27RCfeuuhkQ,13099
|
|
3331
3331
|
benchling_api_client/v2/stable/models/container_content_update.py,sha256=Hwvze4CVwVrOzLDnEY5tors0r5qa4ulJfPrLQq4u_A0,1858
|
|
3332
3332
|
benchling_api_client/v2/stable/models/container_contents_list.py,sha256=sgRFKQi5mPrBfftMosd9U98BFvr6Q3nVyCDpZQ0fuU0,3284
|
|
@@ -4199,7 +4199,7 @@ benchling_api_client/v2/stable/models/worksheet_review_changes_review_record.py,
|
|
|
4199
4199
|
benchling_api_client/v2/stable/models/worksheet_review_changes_review_record_status.py,sha256=9VKJkUCQCFCdkJnV8-JLRQObhO0cTJf2ZeZnBIEyPFA,1093
|
|
4200
4200
|
benchling_api_client/v2/stable/models/worksheet_updated_review_snapshot_beta_event.py,sha256=omW47Bd5ghtsrw7DNYNsnMX_k7xw7JyJOJzw4FWn0oA,12046
|
|
4201
4201
|
benchling_api_client/v2/stable/models/worksheet_updated_review_snapshot_beta_event_event_type.py,sha256=sjbdp-hm8WO8sTocFgmYd_9zt6PpJdZz5tgws0W2cEg,898
|
|
4202
|
-
benchling_api_client/v2/stable/openapi.yaml,sha256=
|
|
4202
|
+
benchling_api_client/v2/stable/openapi.yaml,sha256=KH3QsBgWlPKGBFgC68Epy26H3Q7ODmHndFpHdTgWT-s,1135402
|
|
4203
4203
|
benchling_api_client/v2/stable/types.py,sha256=nCpxtn44qMDpuS_jcdbjhJlZFvRrXEUEVEDN471GrH8,244
|
|
4204
4204
|
benchling_api_client/v2/types.py,sha256=SkWwIlK-UbP10AeiC1VeIQ_1HwALN65zpQyXPc0qDFs,1169
|
|
4205
4205
|
benchling_api_client/webhooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -4513,7 +4513,7 @@ benchling_api_client/webhooks/v0/stable/models/workflow_task_updated_status_webh
|
|
|
4513
4513
|
benchling_api_client/webhooks/v0/stable/openapi.yaml,sha256=Gvlve51cLq7Ws8ll_8Nx-6SGXuYEb8TWCoWzfg_YGnA,39400
|
|
4514
4514
|
benchling_api_client/webhooks/v0/stable/types.py,sha256=nCpxtn44qMDpuS_jcdbjhJlZFvRrXEUEVEDN471GrH8,244
|
|
4515
4515
|
benchling_api_client/webhooks/v0/types.py,sha256=SkWwIlK-UbP10AeiC1VeIQ_1HwALN65zpQyXPc0qDFs,1169
|
|
4516
|
-
benchling_api_client-2.0.
|
|
4517
|
-
benchling_api_client-2.0.
|
|
4518
|
-
benchling_api_client-2.0.
|
|
4519
|
-
benchling_api_client-2.0.
|
|
4516
|
+
benchling_api_client-2.0.411.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
4517
|
+
benchling_api_client-2.0.411.dist-info/METADATA,sha256=9tSmqi-7sKwdwS8wFE6dSMuYWLV7FT7SOs35Uw98KvE,1253
|
|
4518
|
+
benchling_api_client-2.0.411.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
4519
|
+
benchling_api_client-2.0.411.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|