arthur-client 1.4.1235__py3-none-any.whl → 1.4.1236__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.
- arthur_client/api_bindings/api/jobs_v1_api.py +20 -0
- arthur_client/api_bindings/docs/JobsV1Api.md +5 -2
- {arthur_client-1.4.1235.dist-info → arthur_client-1.4.1236.dist-info}/METADATA +1 -1
- {arthur_client-1.4.1235.dist-info → arthur_client-1.4.1236.dist-info}/RECORD +5 -5
- {arthur_client-1.4.1235.dist-info → arthur_client-1.4.1236.dist-info}/WHEEL +0 -0
@@ -1212,6 +1212,7 @@ class JobsV1Api:
|
|
1212
1212
|
triggered_by_user_id: Annotated[Optional[StrictStr], Field(description="Filter the results for the jobs that started by this user id. Only valid when trigger_type = 'user'. Optional.")] = None,
|
1213
1213
|
triggered_by_user_email: Annotated[Optional[StrictStr], Field(description="Filter the results for the jobs that started by this user email. Only valid when trigger_type = 'user'. Optional.")] = None,
|
1214
1214
|
model_id: Annotated[Optional[StrictStr], Field(description="Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional.")] = None,
|
1215
|
+
nonce: Annotated[Optional[StrictStr], Field(description="Filter the results for jobs that match a job nonce used to ensure exactly once execution.")] = None,
|
1215
1216
|
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
1216
1217
|
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
1217
1218
|
_request_timeout: Union[
|
@@ -1281,6 +1282,8 @@ class JobsV1Api:
|
|
1281
1282
|
:type triggered_by_user_email: str
|
1282
1283
|
:param model_id: Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional.
|
1283
1284
|
:type model_id: str
|
1285
|
+
:param nonce: Filter the results for jobs that match a job nonce used to ensure exactly once execution.
|
1286
|
+
:type nonce: str
|
1284
1287
|
:param page: The page to return starting from 1 up to total_pages.
|
1285
1288
|
:type page: int
|
1286
1289
|
:param page_size: The number of records per page. The max is 1000.
|
@@ -1333,6 +1336,7 @@ class JobsV1Api:
|
|
1333
1336
|
triggered_by_user_id=triggered_by_user_id,
|
1334
1337
|
triggered_by_user_email=triggered_by_user_email,
|
1335
1338
|
model_id=model_id,
|
1339
|
+
nonce=nonce,
|
1336
1340
|
page=page,
|
1337
1341
|
page_size=page_size,
|
1338
1342
|
_request_auth=_request_auth,
|
@@ -1386,6 +1390,7 @@ class JobsV1Api:
|
|
1386
1390
|
triggered_by_user_id: Annotated[Optional[StrictStr], Field(description="Filter the results for the jobs that started by this user id. Only valid when trigger_type = 'user'. Optional.")] = None,
|
1387
1391
|
triggered_by_user_email: Annotated[Optional[StrictStr], Field(description="Filter the results for the jobs that started by this user email. Only valid when trigger_type = 'user'. Optional.")] = None,
|
1388
1392
|
model_id: Annotated[Optional[StrictStr], Field(description="Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional.")] = None,
|
1393
|
+
nonce: Annotated[Optional[StrictStr], Field(description="Filter the results for jobs that match a job nonce used to ensure exactly once execution.")] = None,
|
1389
1394
|
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
1390
1395
|
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
1391
1396
|
_request_timeout: Union[
|
@@ -1455,6 +1460,8 @@ class JobsV1Api:
|
|
1455
1460
|
:type triggered_by_user_email: str
|
1456
1461
|
:param model_id: Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional.
|
1457
1462
|
:type model_id: str
|
1463
|
+
:param nonce: Filter the results for jobs that match a job nonce used to ensure exactly once execution.
|
1464
|
+
:type nonce: str
|
1458
1465
|
:param page: The page to return starting from 1 up to total_pages.
|
1459
1466
|
:type page: int
|
1460
1467
|
:param page_size: The number of records per page. The max is 1000.
|
@@ -1507,6 +1514,7 @@ class JobsV1Api:
|
|
1507
1514
|
triggered_by_user_id=triggered_by_user_id,
|
1508
1515
|
triggered_by_user_email=triggered_by_user_email,
|
1509
1516
|
model_id=model_id,
|
1517
|
+
nonce=nonce,
|
1510
1518
|
page=page,
|
1511
1519
|
page_size=page_size,
|
1512
1520
|
_request_auth=_request_auth,
|
@@ -1560,6 +1568,7 @@ class JobsV1Api:
|
|
1560
1568
|
triggered_by_user_id: Annotated[Optional[StrictStr], Field(description="Filter the results for the jobs that started by this user id. Only valid when trigger_type = 'user'. Optional.")] = None,
|
1561
1569
|
triggered_by_user_email: Annotated[Optional[StrictStr], Field(description="Filter the results for the jobs that started by this user email. Only valid when trigger_type = 'user'. Optional.")] = None,
|
1562
1570
|
model_id: Annotated[Optional[StrictStr], Field(description="Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional.")] = None,
|
1571
|
+
nonce: Annotated[Optional[StrictStr], Field(description="Filter the results for jobs that match a job nonce used to ensure exactly once execution.")] = None,
|
1563
1572
|
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
1564
1573
|
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
1565
1574
|
_request_timeout: Union[
|
@@ -1629,6 +1638,8 @@ class JobsV1Api:
|
|
1629
1638
|
:type triggered_by_user_email: str
|
1630
1639
|
:param model_id: Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional.
|
1631
1640
|
:type model_id: str
|
1641
|
+
:param nonce: Filter the results for jobs that match a job nonce used to ensure exactly once execution.
|
1642
|
+
:type nonce: str
|
1632
1643
|
:param page: The page to return starting from 1 up to total_pages.
|
1633
1644
|
:type page: int
|
1634
1645
|
:param page_size: The number of records per page. The max is 1000.
|
@@ -1681,6 +1692,7 @@ class JobsV1Api:
|
|
1681
1692
|
triggered_by_user_id=triggered_by_user_id,
|
1682
1693
|
triggered_by_user_email=triggered_by_user_email,
|
1683
1694
|
model_id=model_id,
|
1695
|
+
nonce=nonce,
|
1684
1696
|
page=page,
|
1685
1697
|
page_size=page_size,
|
1686
1698
|
_request_auth=_request_auth,
|
@@ -1729,6 +1741,7 @@ class JobsV1Api:
|
|
1729
1741
|
triggered_by_user_id,
|
1730
1742
|
triggered_by_user_email,
|
1731
1743
|
model_id,
|
1744
|
+
nonce,
|
1732
1745
|
page,
|
1733
1746
|
page_size,
|
1734
1747
|
_request_auth,
|
@@ -1926,6 +1939,10 @@ class JobsV1Api:
|
|
1926
1939
|
|
1927
1940
|
_query_params.append(('model_id', model_id))
|
1928
1941
|
|
1942
|
+
if nonce is not None:
|
1943
|
+
|
1944
|
+
_query_params.append(('nonce', nonce))
|
1945
|
+
|
1929
1946
|
if page is not None:
|
1930
1947
|
|
1931
1948
|
_query_params.append(('page', page))
|
@@ -2959,6 +2976,7 @@ class JobsV1Api:
|
|
2959
2976
|
'200': "JobsBatch",
|
2960
2977
|
'500': "InternalServerError",
|
2961
2978
|
'404': "NotFoundError",
|
2979
|
+
'400': "BadRequestError",
|
2962
2980
|
'422': "HTTPValidationError",
|
2963
2981
|
}
|
2964
2982
|
response_data = self.api_client.call_api(
|
@@ -3033,6 +3051,7 @@ class JobsV1Api:
|
|
3033
3051
|
'200': "JobsBatch",
|
3034
3052
|
'500': "InternalServerError",
|
3035
3053
|
'404': "NotFoundError",
|
3054
|
+
'400': "BadRequestError",
|
3036
3055
|
'422': "HTTPValidationError",
|
3037
3056
|
}
|
3038
3057
|
response_data = self.api_client.call_api(
|
@@ -3107,6 +3126,7 @@ class JobsV1Api:
|
|
3107
3126
|
'200': "JobsBatch",
|
3108
3127
|
'500': "InternalServerError",
|
3109
3128
|
'404': "NotFoundError",
|
3129
|
+
'400': "BadRequestError",
|
3110
3130
|
'422': "HTTPValidationError",
|
3111
3131
|
}
|
3112
3132
|
response_data = self.api_client.call_api(
|
@@ -337,7 +337,7 @@ Name | Type | Description | Notes
|
|
337
337
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
338
338
|
|
339
339
|
# **get_jobs**
|
340
|
-
> InfiniteResourceListJob get_jobs(project_id, sort=sort, order=order, duration_sec_greater_than=duration_sec_greater_than, duration_sec_less_than=duration_sec_less_than, started_before=started_before, started_after=started_after, queued_before=queued_before, queued_after=queued_after, ready_before=ready_before, ready_before_current_time=ready_before_current_time, ready_after=ready_after, ready_after_current_time=ready_after_current_time, finished_before=finished_before, finished_after=finished_after, kinds=kinds, exclude_kinds=exclude_kinds, states=states, error_count_above=error_count_above, data_plane_id=data_plane_id, schedule_id=schedule_id, trigger_type=trigger_type, triggered_by_user_id=triggered_by_user_id, triggered_by_user_email=triggered_by_user_email, model_id=model_id, page=page, page_size=page_size)
|
340
|
+
> InfiniteResourceListJob get_jobs(project_id, sort=sort, order=order, duration_sec_greater_than=duration_sec_greater_than, duration_sec_less_than=duration_sec_less_than, started_before=started_before, started_after=started_after, queued_before=queued_before, queued_after=queued_after, ready_before=ready_before, ready_before_current_time=ready_before_current_time, ready_after=ready_after, ready_after_current_time=ready_after_current_time, finished_before=finished_before, finished_after=finished_after, kinds=kinds, exclude_kinds=exclude_kinds, states=states, error_count_above=error_count_above, data_plane_id=data_plane_id, schedule_id=schedule_id, trigger_type=trigger_type, triggered_by_user_id=triggered_by_user_id, triggered_by_user_email=triggered_by_user_email, model_id=model_id, nonce=nonce, page=page, page_size=page_size)
|
341
341
|
|
342
342
|
List Jobs
|
343
343
|
|
@@ -400,12 +400,13 @@ with arthur_client.api_bindings.ApiClient(configuration) as api_client:
|
|
400
400
|
triggered_by_user_id = 'triggered_by_user_id_example' # str | Filter the results for the jobs that started by this user id. Only valid when trigger_type = 'user'. Optional. (optional)
|
401
401
|
triggered_by_user_email = 'triggered_by_user_email_example' # str | Filter the results for the jobs that started by this user email. Only valid when trigger_type = 'user'. Optional. (optional)
|
402
402
|
model_id = 'model_id_example' # str | Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional. (optional)
|
403
|
+
nonce = 'nonce_example' # str | Filter the results for jobs that match a job nonce used to ensure exactly once execution. (optional)
|
403
404
|
page = 1 # int | The page to return starting from 1 up to total_pages. (optional) (default to 1)
|
404
405
|
page_size = 20 # int | The number of records per page. The max is 1000. (optional) (default to 20)
|
405
406
|
|
406
407
|
try:
|
407
408
|
# List Jobs
|
408
|
-
api_response = api_instance.get_jobs(project_id, sort=sort, order=order, duration_sec_greater_than=duration_sec_greater_than, duration_sec_less_than=duration_sec_less_than, started_before=started_before, started_after=started_after, queued_before=queued_before, queued_after=queued_after, ready_before=ready_before, ready_before_current_time=ready_before_current_time, ready_after=ready_after, ready_after_current_time=ready_after_current_time, finished_before=finished_before, finished_after=finished_after, kinds=kinds, exclude_kinds=exclude_kinds, states=states, error_count_above=error_count_above, data_plane_id=data_plane_id, schedule_id=schedule_id, trigger_type=trigger_type, triggered_by_user_id=triggered_by_user_id, triggered_by_user_email=triggered_by_user_email, model_id=model_id, page=page, page_size=page_size)
|
409
|
+
api_response = api_instance.get_jobs(project_id, sort=sort, order=order, duration_sec_greater_than=duration_sec_greater_than, duration_sec_less_than=duration_sec_less_than, started_before=started_before, started_after=started_after, queued_before=queued_before, queued_after=queued_after, ready_before=ready_before, ready_before_current_time=ready_before_current_time, ready_after=ready_after, ready_after_current_time=ready_after_current_time, finished_before=finished_before, finished_after=finished_after, kinds=kinds, exclude_kinds=exclude_kinds, states=states, error_count_above=error_count_above, data_plane_id=data_plane_id, schedule_id=schedule_id, trigger_type=trigger_type, triggered_by_user_id=triggered_by_user_id, triggered_by_user_email=triggered_by_user_email, model_id=model_id, nonce=nonce, page=page, page_size=page_size)
|
409
410
|
print("The response of JobsV1Api->get_jobs:\n")
|
410
411
|
pprint(api_response)
|
411
412
|
except Exception as e:
|
@@ -444,6 +445,7 @@ Name | Type | Description | Notes
|
|
444
445
|
**triggered_by_user_id** | **str**| Filter the results for the jobs that started by this user id. Only valid when trigger_type = 'user'. Optional. | [optional]
|
445
446
|
**triggered_by_user_email** | **str**| Filter the results for the jobs that started by this user email. Only valid when trigger_type = 'user'. Optional. | [optional]
|
446
447
|
**model_id** | **str**| Filter the results for jobs associated with this model ID. Includes jobs associated with datasets used by the model. Optional. | [optional]
|
448
|
+
**nonce** | **str**| Filter the results for jobs that match a job nonce used to ensure exactly once execution. | [optional]
|
447
449
|
**page** | **int**| The page to return starting from 1 up to total_pages. | [optional] [default to 1]
|
448
450
|
**page_size** | **int**| The number of records per page. The max is 1000. | [optional] [default to 20]
|
449
451
|
|
@@ -790,6 +792,7 @@ Name | Type | Description | Notes
|
|
790
792
|
**200** | Successful Response | - |
|
791
793
|
**500** | Internal Server Error | - |
|
792
794
|
**404** | Not Found | - |
|
795
|
+
**400** | Bad Request | - |
|
793
796
|
**422** | Validation Error | - |
|
794
797
|
|
795
798
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
@@ -15,7 +15,7 @@ arthur_client/api_bindings/api/datasets_v1_api.py,sha256=Cv6viMcsDkS1JNVUqYCVNk_
|
|
15
15
|
arthur_client/api_bindings/api/default_api.py,sha256=PQLPiheDpRr7veZzHlwPvJX1me5QwZZpXZsgyZPoXuw,10592
|
16
16
|
arthur_client/api_bindings/api/feature_flags_v1_api.py,sha256=PRotgww8FLORomBQGj-v2bqvfMwfHoW48mlPP9zj7HQ,10550
|
17
17
|
arthur_client/api_bindings/api/groups_v1_api.py,sha256=vCIf6HnslrTocrP1L8FhLwiAZGmx2J7Wi5IC3wVZNjQ,111703
|
18
|
-
arthur_client/api_bindings/api/jobs_v1_api.py,sha256=
|
18
|
+
arthur_client/api_bindings/api/jobs_v1_api.py,sha256=HXQaHWlNpxEvB1kd9zg_9ovqAIeQo9kj1VEwSIfGZIE,163818
|
19
19
|
arthur_client/api_bindings/api/metric_functions_v1_api.py,sha256=PpBLl3Y9ws0D1TqfXmyMzYyoEIBsc7idU7SuTbISHz4,10840
|
20
20
|
arthur_client/api_bindings/api/metrics_v1_api.py,sha256=HpDOrD8pivdvtN7vbUh2VkNN0ZAnZcwNBxQ4LqI1FVw,52534
|
21
21
|
arthur_client/api_bindings/api/models_v1_api.py,sha256=aI6GxaLT5AtG0eKs9bJCpW18mq1IHRuRIDh954Zrcy0,108328
|
@@ -157,7 +157,7 @@ arthur_client/api_bindings/docs/JobState.md,sha256=okhmd6nqdfgmc1PNlLS2VLlm-3M2t
|
|
157
157
|
arthur_client/api_bindings/docs/JobTrigger.md,sha256=o_TbOezhIwQ8GxF7c35Uzr9kJPVMILTJr54s2tEpIZw,282
|
158
158
|
arthur_client/api_bindings/docs/JobsBatch.md,sha256=8Mq1duXOlhsGXW1ZxFCrwoXJsw9GvJFNlC4pgGPM5wg,854
|
159
159
|
arthur_client/api_bindings/docs/JobsSort.md,sha256=R3gZ5hUgZd9_43-8mm7xjU7U_mNSu4ikqE-mToSXXmc,306
|
160
|
-
arthur_client/api_bindings/docs/JobsV1Api.md,sha256=
|
160
|
+
arthur_client/api_bindings/docs/JobsV1Api.md,sha256=OiWPJKKJ8ZhIdhS4xcvlK9BMXzFs-LhVi9xEHtgYY2Y,39394
|
161
161
|
arthur_client/api_bindings/docs/JoinedDataset.md,sha256=quRyHkvJf3sYqjfl9GxenPT1twkxgfAtmnnR27U_RXM,1041
|
162
162
|
arthur_client/api_bindings/docs/KeywordsConfig.md,sha256=60t9-yAm6NYF8XaIAho8nNyPI3xfhxfzloi0U2HF1qE,916
|
163
163
|
arthur_client/api_bindings/docs/ListDatasetsJobSpec.md,sha256=2azR440uv97Jmr95jICIjFl6wPGt2QbSSLUste-vQ4A,1084
|
@@ -958,6 +958,6 @@ arthur_client/auth/device_authorizer.py,sha256=bJMIZRjkwQwoSWTLEp7OoXM2MytO3ADSD
|
|
958
958
|
arthur_client/auth/discovery.py,sha256=hR0MglzRWHdwyi72If5hTnjO50fDJhquP_DD7OzjIQQ,1188
|
959
959
|
arthur_client/auth/oauth_api_config.py,sha256=MB-bwm6Qo_USZD_4KVId6d_v5OtLBphwBjMjslVjTlo,1348
|
960
960
|
arthur_client/auth/session.py,sha256=wCriib5ajfm1e1WTL_QXVCJmEOrGwQg_0v91e5qrC6g,2649
|
961
|
-
arthur_client-1.4.
|
962
|
-
arthur_client-1.4.
|
963
|
-
arthur_client-1.4.
|
961
|
+
arthur_client-1.4.1236.dist-info/METADATA,sha256=Jo69QqMb3ulIx0P_voLsED1OW9zZlRt3KI9YcIbgz2M,1730
|
962
|
+
arthur_client-1.4.1236.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
963
|
+
arthur_client-1.4.1236.dist-info/RECORD,,
|
File without changes
|