benchling-sdk 1.15.0a0__py3-none-any.whl → 1.16.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.
@@ -60,7 +60,9 @@ def retry_method(f):
60
60
  if retry_strategy is _sentinel:
61
61
  retry_strategy = self.retry_strategy
62
62
 
63
- def should_retry(e: BenchlingError) -> bool:
63
+ def should_retry(e: Exception) -> bool:
64
+ if not isinstance(e, BenchlingError):
65
+ return False
64
66
  if retry_strategy.status_codes_to_retry is None:
65
67
  return True
66
68
  return e.status_code in retry_strategy.status_codes_to_retry
@@ -1054,6 +1054,8 @@ __all__ = [
1054
1054
  "WorkflowTaskGroupCreatedEvent",
1055
1055
  "WorkflowTaskGroupCreatedEventEventType",
1056
1056
  "WorkflowTaskGroupExecutionType",
1057
+ "WorkflowTaskGroupMappingCompletedEvent",
1058
+ "WorkflowTaskGroupMappingCompletedEventEventType",
1057
1059
  "WorkflowTaskGroupSummary",
1058
1060
  "WorkflowTaskGroupUpdate",
1059
1061
  "WorkflowTaskGroupUpdatedWatchersEvent",
@@ -2139,6 +2141,8 @@ if TYPE_CHECKING:
2139
2141
  import benchling_api_client.v2.stable.models.workflow_task_group_created_event
2140
2142
  import benchling_api_client.v2.stable.models.workflow_task_group_created_event_event_type
2141
2143
  import benchling_api_client.v2.stable.models.workflow_task_group_execution_type
2144
+ import benchling_api_client.v2.stable.models.workflow_task_group_mapping_completed_event
2145
+ import benchling_api_client.v2.stable.models.workflow_task_group_mapping_completed_event_event_type
2142
2146
  import benchling_api_client.v2.stable.models.workflow_task_group_summary
2143
2147
  import benchling_api_client.v2.stable.models.workflow_task_group_update
2144
2148
  import benchling_api_client.v2.stable.models.workflow_task_group_updated_watchers_event
@@ -4378,6 +4382,12 @@ if TYPE_CHECKING:
4378
4382
  WorkflowTaskGroupExecutionType = (
4379
4383
  benchling_api_client.v2.stable.models.workflow_task_group_execution_type.WorkflowTaskGroupExecutionType
4380
4384
  )
4385
+ WorkflowTaskGroupMappingCompletedEvent = (
4386
+ benchling_api_client.v2.stable.models.workflow_task_group_mapping_completed_event.WorkflowTaskGroupMappingCompletedEvent
4387
+ )
4388
+ WorkflowTaskGroupMappingCompletedEventEventType = (
4389
+ benchling_api_client.v2.stable.models.workflow_task_group_mapping_completed_event_event_type.WorkflowTaskGroupMappingCompletedEventEventType
4390
+ )
4381
4391
  WorkflowTaskGroupSummary = (
4382
4392
  benchling_api_client.v2.stable.models.workflow_task_group_summary.WorkflowTaskGroupSummary
4383
4393
  )
@@ -5527,6 +5537,8 @@ else:
5527
5537
  "WorkflowTaskGroupCreatedEvent": "benchling_api_client.v2.stable.models.workflow_task_group_created_event",
5528
5538
  "WorkflowTaskGroupCreatedEventEventType": "benchling_api_client.v2.stable.models.workflow_task_group_created_event_event_type",
5529
5539
  "WorkflowTaskGroupExecutionType": "benchling_api_client.v2.stable.models.workflow_task_group_execution_type",
5540
+ "WorkflowTaskGroupMappingCompletedEvent": "benchling_api_client.v2.stable.models.workflow_task_group_mapping_completed_event",
5541
+ "WorkflowTaskGroupMappingCompletedEventEventType": "benchling_api_client.v2.stable.models.workflow_task_group_mapping_completed_event_event_type",
5530
5542
  "WorkflowTaskGroupSummary": "benchling_api_client.v2.stable.models.workflow_task_group_summary",
5531
5543
  "WorkflowTaskGroupUpdate": "benchling_api_client.v2.stable.models.workflow_task_group_update",
5532
5544
  "WorkflowTaskGroupUpdatedWatchersEvent": "benchling_api_client.v2.stable.models.workflow_task_group_updated_watchers_event",
@@ -13,6 +13,8 @@ __all__ = [
13
13
  "AppActivateRequestedWebhookV2Type",
14
14
  "AppDeactivatedWebhookV2",
15
15
  "AppDeactivatedWebhookV2Type",
16
+ "AppInstalledWebhookV2",
17
+ "AppInstalledWebhookV2Type",
16
18
  "AssayRunCreatedWebhookV2",
17
19
  "AssayRunCreatedWebhookV2Type",
18
20
  "AssayRunUpdatedFieldsWebhookV2",
@@ -126,6 +128,8 @@ if TYPE_CHECKING:
126
128
  import benchling_api_client.webhooks.v0.stable.models.app_activate_requested_webhook_v2_type
127
129
  import benchling_api_client.webhooks.v0.stable.models.app_deactivated_webhook_v2
128
130
  import benchling_api_client.webhooks.v0.stable.models.app_deactivated_webhook_v2_type
131
+ import benchling_api_client.webhooks.v0.stable.models.app_installed_webhook_v2
132
+ import benchling_api_client.webhooks.v0.stable.models.app_installed_webhook_v2_type
129
133
  import benchling_api_client.webhooks.v0.stable.models.assay_run_created_webhook_v2
130
134
  import benchling_api_client.webhooks.v0.stable.models.assay_run_created_webhook_v2_type
131
135
  import benchling_api_client.webhooks.v0.stable.models.assay_run_updated_fields_webhook_v2
@@ -245,6 +249,12 @@ if TYPE_CHECKING:
245
249
  AppDeactivatedWebhookV2Type = (
246
250
  benchling_api_client.webhooks.v0.stable.models.app_deactivated_webhook_v2_type.AppDeactivatedWebhookV2Type
247
251
  )
252
+ AppInstalledWebhookV2 = (
253
+ benchling_api_client.webhooks.v0.stable.models.app_installed_webhook_v2.AppInstalledWebhookV2
254
+ )
255
+ AppInstalledWebhookV2Type = (
256
+ benchling_api_client.webhooks.v0.stable.models.app_installed_webhook_v2_type.AppInstalledWebhookV2Type
257
+ )
248
258
  AssayRunCreatedWebhookV2 = (
249
259
  benchling_api_client.webhooks.v0.stable.models.assay_run_created_webhook_v2.AssayRunCreatedWebhookV2
250
260
  )
@@ -562,6 +572,8 @@ else:
562
572
  "AppActivateRequestedWebhookV2Type": "benchling_api_client.webhooks.v0.stable.models.app_activate_requested_webhook_v2_type",
563
573
  "AppDeactivatedWebhookV2": "benchling_api_client.webhooks.v0.stable.models.app_deactivated_webhook_v2",
564
574
  "AppDeactivatedWebhookV2Type": "benchling_api_client.webhooks.v0.stable.models.app_deactivated_webhook_v2_type",
575
+ "AppInstalledWebhookV2": "benchling_api_client.webhooks.v0.stable.models.app_installed_webhook_v2",
576
+ "AppInstalledWebhookV2Type": "benchling_api_client.webhooks.v0.stable.models.app_installed_webhook_v2_type",
565
577
  "AssayRunCreatedWebhookV2": "benchling_api_client.webhooks.v0.stable.models.assay_run_created_webhook_v2",
566
578
  "AssayRunCreatedWebhookV2Type": "benchling_api_client.webhooks.v0.stable.models.assay_run_created_webhook_v2_type",
567
579
  "AssayRunUpdatedFieldsWebhookV2": "benchling_api_client.webhooks.v0.stable.models.assay_run_updated_fields_webhook_v2",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: benchling-sdk
3
- Version: 1.15.0a0
3
+ Version: 1.16.0
4
4
  Summary: SDK for interacting with the Benchling Platform.
5
5
  License: Apache-2.0
6
6
  Author: Benchling Support
@@ -15,9 +15,9 @@ Classifier: Programming Language :: Python :: 3.11
15
15
  Provides-Extra: cryptography
16
16
  Provides-Extra: python-jose
17
17
  Requires-Dist: PyYAML (>=6.0,<7.0)
18
- Requires-Dist: attrs (>=20.1.0,<23)
19
- Requires-Dist: backoff (>=1.10.0,<2.0.0)
20
- Requires-Dist: benchling-api-client (==2.0.307)
18
+ Requires-Dist: attrs (>=20.1.0,<24)
19
+ Requires-Dist: backoff (>=1.10.0,<3)
20
+ Requires-Dist: benchling-api-client (==2.0.313)
21
21
  Requires-Dist: certifi (>=2022.12.7)
22
22
  Requires-Dist: cryptography (>=42.0.0) ; extra == "cryptography"
23
23
  Requires-Dist: dataclasses-json (>=0.5.2,<0.6.0)
@@ -40,12 +40,12 @@ benchling_sdk/helpers/logging_helpers.py,sha256=rfjjhR0fxTpHWnups-3jKZA6-5IjK4LX
40
40
  benchling_sdk/helpers/package_helpers.py,sha256=JLDDdlOwz6_BgP5j157u0qX-Mtb7ZkzXSg2rrz2BPPU,1998
41
41
  benchling_sdk/helpers/pagination_helpers.py,sha256=Dewy1OxAO0ZdJOGuEPyJGkjU8Hu8iFNWob-z0riMNOs,7745
42
42
  benchling_sdk/helpers/response_helpers.py,sha256=vtmb9lEEKy3dRFre3Q0R4XaLBEaS_rruxtwPvpepPUw,613
43
- benchling_sdk/helpers/retry_helpers.py,sha256=SeKOPjnJIes6UsD7kVqlYKBYmwH_DCHdllnG3jys3N8,2740
43
+ benchling_sdk/helpers/retry_helpers.py,sha256=Sd7F8HMGPs31svYW-1z-SujbWUBn3qlZUk52hZ5G7xw,2814
44
44
  benchling_sdk/helpers/serialization_helpers.py,sha256=IUS0uGU_EiZvb8O-bTViUaROmxKcvdX3JeR9iKsWAG8,3662
45
45
  benchling_sdk/helpers/transaction_manager.py,sha256=HcSDsgGK7Rb93bgv6fpb4HvQUT-tqP0lXgVa_bWCDh4,3663
46
- benchling_sdk/models/__init__.py,sha256=g_tZPB5NyW5EOcNPLlYLfkR24a5dFtVcrX6piEabKDE,360467
46
+ benchling_sdk/models/__init__.py,sha256=k-e3q2PmdRKW6zgatgdwAq2UsUZ1r-2e37ZH9OmCKZc,361448
47
47
  benchling_sdk/models/webhooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- benchling_sdk/models/webhooks/v0/__init__.py,sha256=tEHA5YxF_WPBjvOIT8UxQjxFAnX--fQmReATINpTz7Y,48834
48
+ benchling_sdk/models/webhooks/v0/__init__.py,sha256=tZOza_-DC-yG-MzePP-k88ksz-PpbOcsZW5chNpCYQs,49581
49
49
  benchling_sdk/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
50
50
  benchling_sdk/services/__init__.py,sha256=K7N-sxMKhIsFroLe_tJIRcKJJuoShTCxiD_bfUz9958,85
51
51
  benchling_sdk/services/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -111,7 +111,7 @@ benchling_sdk/services/v2/v2_alpha_service.py,sha256=sGj6cG7IkoolrKSBI1AVNIL5te_
111
111
  benchling_sdk/services/v2/v2_beta_service.py,sha256=extNpmdBP9yGQsE4k_CEPkwlqlTT9HGw7F3qiR11cJs,4651
112
112
  benchling_sdk/services/v2/v2_stable_service.py,sha256=ASx8MtvZqfKNBMUnuzGwPKdH1gV4e3VnJYy6XSxxyNo,26129
113
113
  benchling_sdk/services/v2_service.py,sha256=cGX-Ps0hu7Oh1M7a0tu2zDN8-QG63dNDoK7w4eYo_OQ,3093
114
- benchling_sdk-1.15.0a0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
115
- benchling_sdk-1.15.0a0.dist-info/METADATA,sha256=pfmlCOzNZdgUTZ34XA5y1398xk-KwlPDVGWQ6B-2hlI,2118
116
- benchling_sdk-1.15.0a0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
117
- benchling_sdk-1.15.0a0.dist-info/RECORD,,
114
+ benchling_sdk-1.16.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
115
+ benchling_sdk-1.16.0.dist-info/METADATA,sha256=_ltZKSPk4rbDgeLTMNKnXfXrJIJ4WSJALb31hNZjMfk,2112
116
+ benchling_sdk-1.16.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
117
+ benchling_sdk-1.16.0.dist-info/RECORD,,