polyaxon 2.1.8__py3-none-any.whl → 2.2.0.post1__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.
- polyaxon/_cli/artifacts.py +16 -12
- polyaxon/_cli/components.py +16 -12
- polyaxon/_cli/config.py +31 -0
- polyaxon/_cli/dashboard.py +15 -2
- polyaxon/_cli/init.py +1 -1
- polyaxon/_cli/models.py +16 -12
- polyaxon/_cli/operations.py +100 -54
- polyaxon/_cli/project_versions.py +26 -5
- polyaxon/_cli/projects.py +23 -9
- polyaxon/_cli/run.py +29 -9
- polyaxon/_client/mixin.py +39 -0
- polyaxon/_client/project.py +22 -22
- polyaxon/_client/run.py +44 -25
- polyaxon/_compiler/contexts/ray_job.py +4 -2
- polyaxon/_deploy/schemas/proxy.py +1 -0
- polyaxon/_env_vars/getters/owner_entity.py +4 -2
- polyaxon/_env_vars/getters/project.py +4 -2
- polyaxon/_env_vars/getters/run.py +2 -2
- polyaxon/_env_vars/keys.py +1 -0
- polyaxon/_k8s/converter/base/main.py +1 -0
- polyaxon/_k8s/converter/common/accelerators.py +7 -4
- polyaxon/_k8s/converter/converters/ray_job.py +4 -2
- polyaxon/_k8s/custom_resources/setter.py +1 -1
- polyaxon/_local_process/__init__.py +0 -0
- polyaxon/_local_process/agent.py +6 -0
- polyaxon/_local_process/converter/__init__.py +1 -0
- polyaxon/_local_process/converter/base/__init__.py +1 -0
- polyaxon/_local_process/converter/base/base.py +140 -0
- polyaxon/_local_process/converter/base/containers.py +69 -0
- polyaxon/_local_process/converter/base/env_vars.py +253 -0
- polyaxon/_local_process/converter/base/init.py +414 -0
- polyaxon/_local_process/converter/base/main.py +74 -0
- polyaxon/_local_process/converter/base/mounts.py +82 -0
- polyaxon/_local_process/converter/converters/__init__.py +8 -0
- polyaxon/_local_process/converter/converters/job.py +40 -0
- polyaxon/_local_process/converter/converters/service.py +41 -0
- polyaxon/_local_process/converter/mixins.py +38 -0
- polyaxon/_local_process/executor.py +132 -0
- polyaxon/_local_process/process_types.py +39 -0
- polyaxon/_sdk/api/organizations_v1_api.py +8 -8
- polyaxon/_sdk/api/project_dashboards_v1_api.py +12 -12
- polyaxon/_sdk/api/project_searches_v1_api.py +12 -12
- polyaxon/_sdk/api/projects_v1_api.py +221 -44
- polyaxon/_sdk/api/runs_v1_api.py +156 -202
- polyaxon/_sdk/api/service_accounts_v1_api.py +4 -4
- polyaxon/_sdk/api/teams_v1_api.py +2827 -375
- polyaxon/_sdk/api/users_v1_api.py +231 -55
- polyaxon/_sdk/schemas/v1_settings_catalog.py +1 -0
- polyaxon/_sdk/schemas/v1_team.py +3 -0
- polyaxon/_sdk/schemas/v1_user.py +1 -2
- polyaxon/_utils/fqn_utils.py +25 -2
- polyaxon/pkg.py +1 -1
- {polyaxon-2.1.8.dist-info → polyaxon-2.2.0.post1.dist-info}/METADATA +8 -8
- {polyaxon-2.1.8.dist-info → polyaxon-2.2.0.post1.dist-info}/RECORD +58 -41
- {polyaxon-2.1.8.dist-info → polyaxon-2.2.0.post1.dist-info}/LICENSE +0 -0
- {polyaxon-2.1.8.dist-info → polyaxon-2.2.0.post1.dist-info}/WHEEL +0 -0
- {polyaxon-2.1.8.dist-info → polyaxon-2.2.0.post1.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.1.8.dist-info → polyaxon-2.2.0.post1.dist-info}/top_level.txt +0 -0
polyaxon/_sdk/api/runs_v1_api.py
CHANGED
@@ -222,9 +222,7 @@ class RunsV1Api(BaseApi):
|
|
222
222
|
def approve_runs(
|
223
223
|
self,
|
224
224
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
225
|
-
|
226
|
-
StrictStr, Field(..., description="Project under namesapce")
|
227
|
-
],
|
225
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
228
226
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
229
227
|
**kwargs
|
230
228
|
) -> None: # noqa: E501
|
@@ -233,13 +231,13 @@ class RunsV1Api(BaseApi):
|
|
233
231
|
This method makes a synchronous HTTP request by default. To make an
|
234
232
|
asynchronous HTTP request, please pass async_req=True
|
235
233
|
|
236
|
-
>>> thread = api.approve_runs(owner,
|
234
|
+
>>> thread = api.approve_runs(owner, name, body, async_req=True)
|
237
235
|
>>> result = thread.get()
|
238
236
|
|
239
237
|
:param owner: Owner of the namespace (required)
|
240
238
|
:type owner: str
|
241
|
-
:param
|
242
|
-
:type
|
239
|
+
:param name: Entity under namespace (required)
|
240
|
+
:type name: str
|
243
241
|
:param body: Uuids of the entities (required)
|
244
242
|
:type body: V1Uuids
|
245
243
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -259,16 +257,14 @@ class RunsV1Api(BaseApi):
|
|
259
257
|
"""
|
260
258
|
kwargs["_return_http_data_only"] = True
|
261
259
|
return self.approve_runs_with_http_info(
|
262
|
-
owner,
|
260
|
+
owner, name, body, **kwargs
|
263
261
|
) # noqa: E501
|
264
262
|
|
265
263
|
@validate_arguments
|
266
264
|
def approve_runs_with_http_info(
|
267
265
|
self,
|
268
266
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
269
|
-
|
270
|
-
StrictStr, Field(..., description="Project under namesapce")
|
271
|
-
],
|
267
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
272
268
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
273
269
|
**kwargs
|
274
270
|
): # noqa: E501
|
@@ -277,13 +273,13 @@ class RunsV1Api(BaseApi):
|
|
277
273
|
This method makes a synchronous HTTP request by default. To make an
|
278
274
|
asynchronous HTTP request, please pass async_req=True
|
279
275
|
|
280
|
-
>>> thread = api.approve_runs_with_http_info(owner,
|
276
|
+
>>> thread = api.approve_runs_with_http_info(owner, name, body, async_req=True)
|
281
277
|
>>> result = thread.get()
|
282
278
|
|
283
279
|
:param owner: Owner of the namespace (required)
|
284
280
|
:type owner: str
|
285
|
-
:param
|
286
|
-
:type
|
281
|
+
:param name: Entity under namespace (required)
|
282
|
+
:type name: str
|
287
283
|
:param body: Uuids of the entities (required)
|
288
284
|
:type body: V1Uuids
|
289
285
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -312,7 +308,7 @@ class RunsV1Api(BaseApi):
|
|
312
308
|
|
313
309
|
_params = locals()
|
314
310
|
|
315
|
-
_all_params = ["owner", "
|
311
|
+
_all_params = ["owner", "name", "body"]
|
316
312
|
_all_params.extend(
|
317
313
|
[
|
318
314
|
"async_req",
|
@@ -341,8 +337,8 @@ class RunsV1Api(BaseApi):
|
|
341
337
|
_path_params = {}
|
342
338
|
if _params["owner"]:
|
343
339
|
_path_params["owner"] = _params["owner"]
|
344
|
-
if _params["
|
345
|
-
_path_params["
|
340
|
+
if _params["name"]:
|
341
|
+
_path_params["name"] = _params["name"]
|
346
342
|
|
347
343
|
# process the query parameters
|
348
344
|
_query_params = []
|
@@ -378,7 +374,7 @@ class RunsV1Api(BaseApi):
|
|
378
374
|
_response_types_map = {}
|
379
375
|
|
380
376
|
return self.api_client.call_api(
|
381
|
-
"/api/v1/{owner}/{
|
377
|
+
"/api/v1/{owner}/{name}/runs/approve",
|
382
378
|
"POST",
|
383
379
|
_path_params,
|
384
380
|
_query_params,
|
@@ -580,9 +576,7 @@ class RunsV1Api(BaseApi):
|
|
580
576
|
def archive_runs(
|
581
577
|
self,
|
582
578
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
583
|
-
|
584
|
-
StrictStr, Field(..., description="Project under namesapce")
|
585
|
-
],
|
579
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
586
580
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
587
581
|
**kwargs
|
588
582
|
) -> None: # noqa: E501
|
@@ -591,13 +585,13 @@ class RunsV1Api(BaseApi):
|
|
591
585
|
This method makes a synchronous HTTP request by default. To make an
|
592
586
|
asynchronous HTTP request, please pass async_req=True
|
593
587
|
|
594
|
-
>>> thread = api.archive_runs(owner,
|
588
|
+
>>> thread = api.archive_runs(owner, name, body, async_req=True)
|
595
589
|
>>> result = thread.get()
|
596
590
|
|
597
591
|
:param owner: Owner of the namespace (required)
|
598
592
|
:type owner: str
|
599
|
-
:param
|
600
|
-
:type
|
593
|
+
:param name: Entity under namespace (required)
|
594
|
+
:type name: str
|
601
595
|
:param body: Uuids of the entities (required)
|
602
596
|
:type body: V1Uuids
|
603
597
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -617,16 +611,14 @@ class RunsV1Api(BaseApi):
|
|
617
611
|
"""
|
618
612
|
kwargs["_return_http_data_only"] = True
|
619
613
|
return self.archive_runs_with_http_info(
|
620
|
-
owner,
|
614
|
+
owner, name, body, **kwargs
|
621
615
|
) # noqa: E501
|
622
616
|
|
623
617
|
@validate_arguments
|
624
618
|
def archive_runs_with_http_info(
|
625
619
|
self,
|
626
620
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
627
|
-
|
628
|
-
StrictStr, Field(..., description="Project under namesapce")
|
629
|
-
],
|
621
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
630
622
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
631
623
|
**kwargs
|
632
624
|
): # noqa: E501
|
@@ -635,13 +627,13 @@ class RunsV1Api(BaseApi):
|
|
635
627
|
This method makes a synchronous HTTP request by default. To make an
|
636
628
|
asynchronous HTTP request, please pass async_req=True
|
637
629
|
|
638
|
-
>>> thread = api.archive_runs_with_http_info(owner,
|
630
|
+
>>> thread = api.archive_runs_with_http_info(owner, name, body, async_req=True)
|
639
631
|
>>> result = thread.get()
|
640
632
|
|
641
633
|
:param owner: Owner of the namespace (required)
|
642
634
|
:type owner: str
|
643
|
-
:param
|
644
|
-
:type
|
635
|
+
:param name: Entity under namespace (required)
|
636
|
+
:type name: str
|
645
637
|
:param body: Uuids of the entities (required)
|
646
638
|
:type body: V1Uuids
|
647
639
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -670,7 +662,7 @@ class RunsV1Api(BaseApi):
|
|
670
662
|
|
671
663
|
_params = locals()
|
672
664
|
|
673
|
-
_all_params = ["owner", "
|
665
|
+
_all_params = ["owner", "name", "body"]
|
674
666
|
_all_params.extend(
|
675
667
|
[
|
676
668
|
"async_req",
|
@@ -699,8 +691,8 @@ class RunsV1Api(BaseApi):
|
|
699
691
|
_path_params = {}
|
700
692
|
if _params["owner"]:
|
701
693
|
_path_params["owner"] = _params["owner"]
|
702
|
-
if _params["
|
703
|
-
_path_params["
|
694
|
+
if _params["name"]:
|
695
|
+
_path_params["name"] = _params["name"]
|
704
696
|
|
705
697
|
# process the query parameters
|
706
698
|
_query_params = []
|
@@ -736,7 +728,7 @@ class RunsV1Api(BaseApi):
|
|
736
728
|
_response_types_map = {}
|
737
729
|
|
738
730
|
return self.api_client.call_api(
|
739
|
-
"/api/v1/{owner}/{
|
731
|
+
"/api/v1/{owner}/{name}/runs/archive",
|
740
732
|
"POST",
|
741
733
|
_path_params,
|
742
734
|
_query_params,
|
@@ -938,9 +930,7 @@ class RunsV1Api(BaseApi):
|
|
938
930
|
def bookmark_runs(
|
939
931
|
self,
|
940
932
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
941
|
-
|
942
|
-
StrictStr, Field(..., description="Project under namesapce")
|
943
|
-
],
|
933
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
944
934
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
945
935
|
**kwargs
|
946
936
|
) -> None: # noqa: E501
|
@@ -949,13 +939,13 @@ class RunsV1Api(BaseApi):
|
|
949
939
|
This method makes a synchronous HTTP request by default. To make an
|
950
940
|
asynchronous HTTP request, please pass async_req=True
|
951
941
|
|
952
|
-
>>> thread = api.bookmark_runs(owner,
|
942
|
+
>>> thread = api.bookmark_runs(owner, name, body, async_req=True)
|
953
943
|
>>> result = thread.get()
|
954
944
|
|
955
945
|
:param owner: Owner of the namespace (required)
|
956
946
|
:type owner: str
|
957
|
-
:param
|
958
|
-
:type
|
947
|
+
:param name: Entity under namespace (required)
|
948
|
+
:type name: str
|
959
949
|
:param body: Uuids of the entities (required)
|
960
950
|
:type body: V1Uuids
|
961
951
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -975,16 +965,14 @@ class RunsV1Api(BaseApi):
|
|
975
965
|
"""
|
976
966
|
kwargs["_return_http_data_only"] = True
|
977
967
|
return self.bookmark_runs_with_http_info(
|
978
|
-
owner,
|
968
|
+
owner, name, body, **kwargs
|
979
969
|
) # noqa: E501
|
980
970
|
|
981
971
|
@validate_arguments
|
982
972
|
def bookmark_runs_with_http_info(
|
983
973
|
self,
|
984
974
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
985
|
-
|
986
|
-
StrictStr, Field(..., description="Project under namesapce")
|
987
|
-
],
|
975
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
988
976
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
989
977
|
**kwargs
|
990
978
|
): # noqa: E501
|
@@ -993,13 +981,13 @@ class RunsV1Api(BaseApi):
|
|
993
981
|
This method makes a synchronous HTTP request by default. To make an
|
994
982
|
asynchronous HTTP request, please pass async_req=True
|
995
983
|
|
996
|
-
>>> thread = api.bookmark_runs_with_http_info(owner,
|
984
|
+
>>> thread = api.bookmark_runs_with_http_info(owner, name, body, async_req=True)
|
997
985
|
>>> result = thread.get()
|
998
986
|
|
999
987
|
:param owner: Owner of the namespace (required)
|
1000
988
|
:type owner: str
|
1001
|
-
:param
|
1002
|
-
:type
|
989
|
+
:param name: Entity under namespace (required)
|
990
|
+
:type name: str
|
1003
991
|
:param body: Uuids of the entities (required)
|
1004
992
|
:type body: V1Uuids
|
1005
993
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -1028,7 +1016,7 @@ class RunsV1Api(BaseApi):
|
|
1028
1016
|
|
1029
1017
|
_params = locals()
|
1030
1018
|
|
1031
|
-
_all_params = ["owner", "
|
1019
|
+
_all_params = ["owner", "name", "body"]
|
1032
1020
|
_all_params.extend(
|
1033
1021
|
[
|
1034
1022
|
"async_req",
|
@@ -1057,8 +1045,8 @@ class RunsV1Api(BaseApi):
|
|
1057
1045
|
_path_params = {}
|
1058
1046
|
if _params["owner"]:
|
1059
1047
|
_path_params["owner"] = _params["owner"]
|
1060
|
-
if _params["
|
1061
|
-
_path_params["
|
1048
|
+
if _params["name"]:
|
1049
|
+
_path_params["name"] = _params["name"]
|
1062
1050
|
|
1063
1051
|
# process the query parameters
|
1064
1052
|
_query_params = []
|
@@ -1094,7 +1082,7 @@ class RunsV1Api(BaseApi):
|
|
1094
1082
|
_response_types_map = {}
|
1095
1083
|
|
1096
1084
|
return self.api_client.call_api(
|
1097
|
-
"/api/v1/{owner}/{
|
1085
|
+
"/api/v1/{owner}/{name}/runs/bookmark",
|
1098
1086
|
"POST",
|
1099
1087
|
_path_params,
|
1100
1088
|
_query_params,
|
@@ -2851,9 +2839,7 @@ class RunsV1Api(BaseApi):
|
|
2851
2839
|
def delete_runs(
|
2852
2840
|
self,
|
2853
2841
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2854
|
-
|
2855
|
-
StrictStr, Field(..., description="Project under namesapce")
|
2856
|
-
],
|
2842
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
2857
2843
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
2858
2844
|
**kwargs
|
2859
2845
|
) -> None: # noqa: E501
|
@@ -2867,8 +2853,8 @@ class RunsV1Api(BaseApi):
|
|
2867
2853
|
|
2868
2854
|
:param owner: Owner of the namespace (required)
|
2869
2855
|
:type owner: str
|
2870
|
-
:param
|
2871
|
-
:type
|
2856
|
+
:param name: Entity under namespace (required)
|
2857
|
+
:type name: str
|
2872
2858
|
:param body: Uuids of the entities (required)
|
2873
2859
|
:type body: V1Uuids
|
2874
2860
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -2888,16 +2874,14 @@ class RunsV1Api(BaseApi):
|
|
2888
2874
|
"""
|
2889
2875
|
kwargs["_return_http_data_only"] = True
|
2890
2876
|
return self.delete_runs_with_http_info(
|
2891
|
-
owner,
|
2877
|
+
owner, name, body, **kwargs
|
2892
2878
|
) # noqa: E501
|
2893
2879
|
|
2894
2880
|
@validate_arguments
|
2895
2881
|
def delete_runs_with_http_info(
|
2896
2882
|
self,
|
2897
2883
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2898
|
-
|
2899
|
-
StrictStr, Field(..., description="Project under namesapce")
|
2900
|
-
],
|
2884
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
2901
2885
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
2902
2886
|
**kwargs
|
2903
2887
|
): # noqa: E501
|
@@ -2906,13 +2890,13 @@ class RunsV1Api(BaseApi):
|
|
2906
2890
|
This method makes a synchronous HTTP request by default. To make an
|
2907
2891
|
asynchronous HTTP request, please pass async_req=True
|
2908
2892
|
|
2909
|
-
>>> thread = api.delete_runs_with_http_info(owner,
|
2893
|
+
>>> thread = api.delete_runs_with_http_info(owner, name, body, async_req=True)
|
2910
2894
|
>>> result = thread.get()
|
2911
2895
|
|
2912
2896
|
:param owner: Owner of the namespace (required)
|
2913
2897
|
:type owner: str
|
2914
|
-
:param
|
2915
|
-
:type
|
2898
|
+
:param name: Entity under namespace (required)
|
2899
|
+
:type name: str
|
2916
2900
|
:param body: Uuids of the entities (required)
|
2917
2901
|
:type body: V1Uuids
|
2918
2902
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -2941,7 +2925,7 @@ class RunsV1Api(BaseApi):
|
|
2941
2925
|
|
2942
2926
|
_params = locals()
|
2943
2927
|
|
2944
|
-
_all_params = ["owner", "
|
2928
|
+
_all_params = ["owner", "name", "body"]
|
2945
2929
|
_all_params.extend(
|
2946
2930
|
[
|
2947
2931
|
"async_req",
|
@@ -2970,8 +2954,8 @@ class RunsV1Api(BaseApi):
|
|
2970
2954
|
_path_params = {}
|
2971
2955
|
if _params["owner"]:
|
2972
2956
|
_path_params["owner"] = _params["owner"]
|
2973
|
-
if _params["
|
2974
|
-
_path_params["
|
2957
|
+
if _params["name"]:
|
2958
|
+
_path_params["name"] = _params["name"]
|
2975
2959
|
|
2976
2960
|
# process the query parameters
|
2977
2961
|
_query_params = []
|
@@ -3007,7 +2991,7 @@ class RunsV1Api(BaseApi):
|
|
3007
2991
|
_response_types_map = {}
|
3008
2992
|
|
3009
2993
|
return self.api_client.call_api(
|
3010
|
-
"/api/v1/{owner}/{
|
2994
|
+
"/api/v1/{owner}/{name}/runs/delete",
|
3011
2995
|
"DELETE",
|
3012
2996
|
_path_params,
|
3013
2997
|
_query_params,
|
@@ -4373,7 +4357,7 @@ class RunsV1Api(BaseApi):
|
|
4373
4357
|
self,
|
4374
4358
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4375
4359
|
entity: Annotated[
|
4376
|
-
StrictStr, Field(..., description="Entity name under
|
4360
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
4377
4361
|
],
|
4378
4362
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
4379
4363
|
offset: Annotated[
|
@@ -4399,7 +4383,7 @@ class RunsV1Api(BaseApi):
|
|
4399
4383
|
|
4400
4384
|
:param owner: Owner of the namespace (required)
|
4401
4385
|
:type owner: str
|
4402
|
-
:param entity: Entity name under
|
4386
|
+
:param entity: Entity name under namespace (required)
|
4403
4387
|
:type entity: str
|
4404
4388
|
:param uuid: SubEntity uuid (required)
|
4405
4389
|
:type uuid: str
|
@@ -4438,7 +4422,7 @@ class RunsV1Api(BaseApi):
|
|
4438
4422
|
self,
|
4439
4423
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4440
4424
|
entity: Annotated[
|
4441
|
-
StrictStr, Field(..., description="Entity name under
|
4425
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
4442
4426
|
],
|
4443
4427
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
4444
4428
|
offset: Annotated[
|
@@ -4464,7 +4448,7 @@ class RunsV1Api(BaseApi):
|
|
4464
4448
|
|
4465
4449
|
:param owner: Owner of the namespace (required)
|
4466
4450
|
:type owner: str
|
4467
|
-
:param entity: Entity name under
|
4451
|
+
:param entity: Entity name under namespace (required)
|
4468
4452
|
:type entity: str
|
4469
4453
|
:param uuid: SubEntity uuid (required)
|
4470
4454
|
:type uuid: str
|
@@ -4609,7 +4593,7 @@ class RunsV1Api(BaseApi):
|
|
4609
4593
|
self,
|
4610
4594
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4611
4595
|
entity: Annotated[
|
4612
|
-
StrictStr, Field(..., description="Entity name under
|
4596
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
4613
4597
|
],
|
4614
4598
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
4615
4599
|
offset: Annotated[
|
@@ -4635,7 +4619,7 @@ class RunsV1Api(BaseApi):
|
|
4635
4619
|
|
4636
4620
|
:param owner: Owner of the namespace (required)
|
4637
4621
|
:type owner: str
|
4638
|
-
:param entity: Entity name under
|
4622
|
+
:param entity: Entity name under namespace (required)
|
4639
4623
|
:type entity: str
|
4640
4624
|
:param uuid: SubEntity uuid (required)
|
4641
4625
|
:type uuid: str
|
@@ -4674,7 +4658,7 @@ class RunsV1Api(BaseApi):
|
|
4674
4658
|
self,
|
4675
4659
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4676
4660
|
entity: Annotated[
|
4677
|
-
StrictStr, Field(..., description="Entity name under
|
4661
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
4678
4662
|
],
|
4679
4663
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
4680
4664
|
offset: Annotated[
|
@@ -4700,7 +4684,7 @@ class RunsV1Api(BaseApi):
|
|
4700
4684
|
|
4701
4685
|
:param owner: Owner of the namespace (required)
|
4702
4686
|
:type owner: str
|
4703
|
-
:param entity: Entity name under
|
4687
|
+
:param entity: Entity name under namespace (required)
|
4704
4688
|
:type entity: str
|
4705
4689
|
:param uuid: SubEntity uuid (required)
|
4706
4690
|
:type uuid: str
|
@@ -5056,7 +5040,7 @@ class RunsV1Api(BaseApi):
|
|
5056
5040
|
self,
|
5057
5041
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5058
5042
|
entity: Annotated[
|
5059
|
-
StrictStr, Field(..., description="Entity name under
|
5043
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
5060
5044
|
],
|
5061
5045
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
5062
5046
|
offset: Annotated[
|
@@ -5082,7 +5066,7 @@ class RunsV1Api(BaseApi):
|
|
5082
5066
|
|
5083
5067
|
:param owner: Owner of the namespace (required)
|
5084
5068
|
:type owner: str
|
5085
|
-
:param entity: Entity name under
|
5069
|
+
:param entity: Entity name under namespace (required)
|
5086
5070
|
:type entity: str
|
5087
5071
|
:param uuid: SubEntity uuid (required)
|
5088
5072
|
:type uuid: str
|
@@ -5121,7 +5105,7 @@ class RunsV1Api(BaseApi):
|
|
5121
5105
|
self,
|
5122
5106
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5123
5107
|
entity: Annotated[
|
5124
|
-
StrictStr, Field(..., description="Entity name under
|
5108
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
5125
5109
|
],
|
5126
5110
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
5127
5111
|
offset: Annotated[
|
@@ -5147,7 +5131,7 @@ class RunsV1Api(BaseApi):
|
|
5147
5131
|
|
5148
5132
|
:param owner: Owner of the namespace (required)
|
5149
5133
|
:type owner: str
|
5150
|
-
:param entity: Entity name under
|
5134
|
+
:param entity: Entity name under namespace (required)
|
5151
5135
|
:type entity: str
|
5152
5136
|
:param uuid: SubEntity uuid (required)
|
5153
5137
|
:type uuid: str
|
@@ -5292,7 +5276,7 @@ class RunsV1Api(BaseApi):
|
|
5292
5276
|
self,
|
5293
5277
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5294
5278
|
entity: Annotated[
|
5295
|
-
StrictStr, Field(..., description="Entity name under
|
5279
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
5296
5280
|
],
|
5297
5281
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
5298
5282
|
offset: Annotated[
|
@@ -5318,7 +5302,7 @@ class RunsV1Api(BaseApi):
|
|
5318
5302
|
|
5319
5303
|
:param owner: Owner of the namespace (required)
|
5320
5304
|
:type owner: str
|
5321
|
-
:param entity: Entity name under
|
5305
|
+
:param entity: Entity name under namespace (required)
|
5322
5306
|
:type entity: str
|
5323
5307
|
:param uuid: SubEntity uuid (required)
|
5324
5308
|
:type uuid: str
|
@@ -5357,7 +5341,7 @@ class RunsV1Api(BaseApi):
|
|
5357
5341
|
self,
|
5358
5342
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5359
5343
|
entity: Annotated[
|
5360
|
-
StrictStr, Field(..., description="Entity name under
|
5344
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
5361
5345
|
],
|
5362
5346
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
5363
5347
|
offset: Annotated[
|
@@ -5383,7 +5367,7 @@ class RunsV1Api(BaseApi):
|
|
5383
5367
|
|
5384
5368
|
:param owner: Owner of the namespace (required)
|
5385
5369
|
:type owner: str
|
5386
|
-
:param entity: Entity name under
|
5370
|
+
:param entity: Entity name under namespace (required)
|
5387
5371
|
:type entity: str
|
5388
5372
|
:param uuid: SubEntity uuid (required)
|
5389
5373
|
:type uuid: str
|
@@ -5528,7 +5512,7 @@ class RunsV1Api(BaseApi):
|
|
5528
5512
|
self,
|
5529
5513
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5530
5514
|
entity: Annotated[
|
5531
|
-
StrictStr, Field(..., description="Entity name under
|
5515
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
5532
5516
|
],
|
5533
5517
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
5534
5518
|
offset: Annotated[
|
@@ -5554,7 +5538,7 @@ class RunsV1Api(BaseApi):
|
|
5554
5538
|
|
5555
5539
|
:param owner: Owner of the namespace (required)
|
5556
5540
|
:type owner: str
|
5557
|
-
:param entity: Entity name under
|
5541
|
+
:param entity: Entity name under namespace (required)
|
5558
5542
|
:type entity: str
|
5559
5543
|
:param uuid: SubEntity uuid (required)
|
5560
5544
|
:type uuid: str
|
@@ -5593,7 +5577,7 @@ class RunsV1Api(BaseApi):
|
|
5593
5577
|
self,
|
5594
5578
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5595
5579
|
entity: Annotated[
|
5596
|
-
StrictStr, Field(..., description="Entity name under
|
5580
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
5597
5581
|
],
|
5598
5582
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
5599
5583
|
offset: Annotated[
|
@@ -5619,7 +5603,7 @@ class RunsV1Api(BaseApi):
|
|
5619
5603
|
|
5620
5604
|
:param owner: Owner of the namespace (required)
|
5621
5605
|
:type owner: str
|
5622
|
-
:param entity: Entity name under
|
5606
|
+
:param entity: Entity name under namespace (required)
|
5623
5607
|
:type entity: str
|
5624
5608
|
:param uuid: SubEntity uuid (required)
|
5625
5609
|
:type uuid: str
|
@@ -6966,7 +6950,7 @@ class RunsV1Api(BaseApi):
|
|
6966
6950
|
self,
|
6967
6951
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
6968
6952
|
entity: Annotated[
|
6969
|
-
StrictStr, Field(..., description="Entity name under
|
6953
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
6970
6954
|
],
|
6971
6955
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
6972
6956
|
offset: Annotated[
|
@@ -7003,7 +6987,7 @@ class RunsV1Api(BaseApi):
|
|
7003
6987
|
|
7004
6988
|
:param owner: Owner of the namespace (required)
|
7005
6989
|
:type owner: str
|
7006
|
-
:param entity: Entity name under
|
6990
|
+
:param entity: Entity name under namespace (required)
|
7007
6991
|
:type entity: str
|
7008
6992
|
:param uuid: SubEntity uuid (required)
|
7009
6993
|
:type uuid: str
|
@@ -7065,7 +7049,7 @@ class RunsV1Api(BaseApi):
|
|
7065
7049
|
self,
|
7066
7050
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
7067
7051
|
entity: Annotated[
|
7068
|
-
StrictStr, Field(..., description="Entity name under
|
7052
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
7069
7053
|
],
|
7070
7054
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
7071
7055
|
offset: Annotated[
|
@@ -7102,7 +7086,7 @@ class RunsV1Api(BaseApi):
|
|
7102
7086
|
|
7103
7087
|
:param owner: Owner of the namespace (required)
|
7104
7088
|
:type owner: str
|
7105
|
-
:param entity: Entity name under
|
7089
|
+
:param entity: Entity name under namespace (required)
|
7106
7090
|
:type entity: str
|
7107
7091
|
:param uuid: SubEntity uuid (required)
|
7108
7092
|
:type uuid: str
|
@@ -7457,7 +7441,7 @@ class RunsV1Api(BaseApi):
|
|
7457
7441
|
self,
|
7458
7442
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
7459
7443
|
entity: Annotated[
|
7460
|
-
StrictStr, Field(..., description="Entity name under
|
7444
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
7461
7445
|
],
|
7462
7446
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
7463
7447
|
offset: Annotated[
|
@@ -7483,7 +7467,7 @@ class RunsV1Api(BaseApi):
|
|
7483
7467
|
|
7484
7468
|
:param owner: Owner of the namespace (required)
|
7485
7469
|
:type owner: str
|
7486
|
-
:param entity: Entity name under
|
7470
|
+
:param entity: Entity name under namespace (required)
|
7487
7471
|
:type entity: str
|
7488
7472
|
:param uuid: SubEntity uuid (required)
|
7489
7473
|
:type uuid: str
|
@@ -7522,7 +7506,7 @@ class RunsV1Api(BaseApi):
|
|
7522
7506
|
self,
|
7523
7507
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
7524
7508
|
entity: Annotated[
|
7525
|
-
StrictStr, Field(..., description="Entity name under
|
7509
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
7526
7510
|
],
|
7527
7511
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
7528
7512
|
offset: Annotated[
|
@@ -7548,7 +7532,7 @@ class RunsV1Api(BaseApi):
|
|
7548
7532
|
|
7549
7533
|
:param owner: Owner of the namespace (required)
|
7550
7534
|
:type owner: str
|
7551
|
-
:param entity: Entity name under
|
7535
|
+
:param entity: Entity name under namespace (required)
|
7552
7536
|
:type entity: str
|
7553
7537
|
:param uuid: SubEntity uuid (required)
|
7554
7538
|
:type uuid: str
|
@@ -8590,9 +8574,7 @@ class RunsV1Api(BaseApi):
|
|
8590
8574
|
def invalidate_runs(
|
8591
8575
|
self,
|
8592
8576
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
8593
|
-
|
8594
|
-
StrictStr, Field(..., description="Project under namesapce")
|
8595
|
-
],
|
8577
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
8596
8578
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
8597
8579
|
**kwargs
|
8598
8580
|
) -> None: # noqa: E501
|
@@ -8601,13 +8583,13 @@ class RunsV1Api(BaseApi):
|
|
8601
8583
|
This method makes a synchronous HTTP request by default. To make an
|
8602
8584
|
asynchronous HTTP request, please pass async_req=True
|
8603
8585
|
|
8604
|
-
>>> thread = api.invalidate_runs(owner,
|
8586
|
+
>>> thread = api.invalidate_runs(owner, name, body, async_req=True)
|
8605
8587
|
>>> result = thread.get()
|
8606
8588
|
|
8607
8589
|
:param owner: Owner of the namespace (required)
|
8608
8590
|
:type owner: str
|
8609
|
-
:param
|
8610
|
-
:type
|
8591
|
+
:param name: Entity under namespace (required)
|
8592
|
+
:type name: str
|
8611
8593
|
:param body: Uuids of the entities (required)
|
8612
8594
|
:type body: V1Uuids
|
8613
8595
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -8627,16 +8609,14 @@ class RunsV1Api(BaseApi):
|
|
8627
8609
|
"""
|
8628
8610
|
kwargs["_return_http_data_only"] = True
|
8629
8611
|
return self.invalidate_runs_with_http_info(
|
8630
|
-
owner,
|
8612
|
+
owner, name, body, **kwargs
|
8631
8613
|
) # noqa: E501
|
8632
8614
|
|
8633
8615
|
@validate_arguments
|
8634
8616
|
def invalidate_runs_with_http_info(
|
8635
8617
|
self,
|
8636
8618
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
8637
|
-
|
8638
|
-
StrictStr, Field(..., description="Project under namesapce")
|
8639
|
-
],
|
8619
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
8640
8620
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
8641
8621
|
**kwargs
|
8642
8622
|
): # noqa: E501
|
@@ -8645,13 +8625,13 @@ class RunsV1Api(BaseApi):
|
|
8645
8625
|
This method makes a synchronous HTTP request by default. To make an
|
8646
8626
|
asynchronous HTTP request, please pass async_req=True
|
8647
8627
|
|
8648
|
-
>>> thread = api.invalidate_runs_with_http_info(owner,
|
8628
|
+
>>> thread = api.invalidate_runs_with_http_info(owner, name, body, async_req=True)
|
8649
8629
|
>>> result = thread.get()
|
8650
8630
|
|
8651
8631
|
:param owner: Owner of the namespace (required)
|
8652
8632
|
:type owner: str
|
8653
|
-
:param
|
8654
|
-
:type
|
8633
|
+
:param name: Entity under namespace (required)
|
8634
|
+
:type name: str
|
8655
8635
|
:param body: Uuids of the entities (required)
|
8656
8636
|
:type body: V1Uuids
|
8657
8637
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -8680,7 +8660,7 @@ class RunsV1Api(BaseApi):
|
|
8680
8660
|
|
8681
8661
|
_params = locals()
|
8682
8662
|
|
8683
|
-
_all_params = ["owner", "
|
8663
|
+
_all_params = ["owner", "name", "body"]
|
8684
8664
|
_all_params.extend(
|
8685
8665
|
[
|
8686
8666
|
"async_req",
|
@@ -8709,8 +8689,8 @@ class RunsV1Api(BaseApi):
|
|
8709
8689
|
_path_params = {}
|
8710
8690
|
if _params["owner"]:
|
8711
8691
|
_path_params["owner"] = _params["owner"]
|
8712
|
-
if _params["
|
8713
|
-
_path_params["
|
8692
|
+
if _params["name"]:
|
8693
|
+
_path_params["name"] = _params["name"]
|
8714
8694
|
|
8715
8695
|
# process the query parameters
|
8716
8696
|
_query_params = []
|
@@ -8746,7 +8726,7 @@ class RunsV1Api(BaseApi):
|
|
8746
8726
|
_response_types_map = {}
|
8747
8727
|
|
8748
8728
|
return self.api_client.call_api(
|
8749
|
-
"/api/v1/{owner}/{
|
8729
|
+
"/api/v1/{owner}/{name}/runs/invalidate",
|
8750
8730
|
"POST",
|
8751
8731
|
_path_params,
|
8752
8732
|
_query_params,
|
@@ -10195,9 +10175,7 @@ class RunsV1Api(BaseApi):
|
|
10195
10175
|
def restore_runs(
|
10196
10176
|
self,
|
10197
10177
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
10198
|
-
|
10199
|
-
StrictStr, Field(..., description="Project under namesapce")
|
10200
|
-
],
|
10178
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
10201
10179
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
10202
10180
|
**kwargs
|
10203
10181
|
) -> None: # noqa: E501
|
@@ -10206,13 +10184,13 @@ class RunsV1Api(BaseApi):
|
|
10206
10184
|
This method makes a synchronous HTTP request by default. To make an
|
10207
10185
|
asynchronous HTTP request, please pass async_req=True
|
10208
10186
|
|
10209
|
-
>>> thread = api.restore_runs(owner,
|
10187
|
+
>>> thread = api.restore_runs(owner, name, body, async_req=True)
|
10210
10188
|
>>> result = thread.get()
|
10211
10189
|
|
10212
10190
|
:param owner: Owner of the namespace (required)
|
10213
10191
|
:type owner: str
|
10214
|
-
:param
|
10215
|
-
:type
|
10192
|
+
:param name: Entity under namespace (required)
|
10193
|
+
:type name: str
|
10216
10194
|
:param body: Uuids of the entities (required)
|
10217
10195
|
:type body: V1Uuids
|
10218
10196
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -10232,16 +10210,14 @@ class RunsV1Api(BaseApi):
|
|
10232
10210
|
"""
|
10233
10211
|
kwargs["_return_http_data_only"] = True
|
10234
10212
|
return self.restore_runs_with_http_info(
|
10235
|
-
owner,
|
10213
|
+
owner, name, body, **kwargs
|
10236
10214
|
) # noqa: E501
|
10237
10215
|
|
10238
10216
|
@validate_arguments
|
10239
10217
|
def restore_runs_with_http_info(
|
10240
10218
|
self,
|
10241
10219
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
10242
|
-
|
10243
|
-
StrictStr, Field(..., description="Project under namesapce")
|
10244
|
-
],
|
10220
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
10245
10221
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
10246
10222
|
**kwargs
|
10247
10223
|
): # noqa: E501
|
@@ -10250,13 +10226,13 @@ class RunsV1Api(BaseApi):
|
|
10250
10226
|
This method makes a synchronous HTTP request by default. To make an
|
10251
10227
|
asynchronous HTTP request, please pass async_req=True
|
10252
10228
|
|
10253
|
-
>>> thread = api.restore_runs_with_http_info(owner,
|
10229
|
+
>>> thread = api.restore_runs_with_http_info(owner, name, body, async_req=True)
|
10254
10230
|
>>> result = thread.get()
|
10255
10231
|
|
10256
10232
|
:param owner: Owner of the namespace (required)
|
10257
10233
|
:type owner: str
|
10258
|
-
:param
|
10259
|
-
:type
|
10234
|
+
:param name: Entity under namespace (required)
|
10235
|
+
:type name: str
|
10260
10236
|
:param body: Uuids of the entities (required)
|
10261
10237
|
:type body: V1Uuids
|
10262
10238
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -10285,7 +10261,7 @@ class RunsV1Api(BaseApi):
|
|
10285
10261
|
|
10286
10262
|
_params = locals()
|
10287
10263
|
|
10288
|
-
_all_params = ["owner", "
|
10264
|
+
_all_params = ["owner", "name", "body"]
|
10289
10265
|
_all_params.extend(
|
10290
10266
|
[
|
10291
10267
|
"async_req",
|
@@ -10314,8 +10290,8 @@ class RunsV1Api(BaseApi):
|
|
10314
10290
|
_path_params = {}
|
10315
10291
|
if _params["owner"]:
|
10316
10292
|
_path_params["owner"] = _params["owner"]
|
10317
|
-
if _params["
|
10318
|
-
_path_params["
|
10293
|
+
if _params["name"]:
|
10294
|
+
_path_params["name"] = _params["name"]
|
10319
10295
|
|
10320
10296
|
# process the query parameters
|
10321
10297
|
_query_params = []
|
@@ -10351,7 +10327,7 @@ class RunsV1Api(BaseApi):
|
|
10351
10327
|
_response_types_map = {}
|
10352
10328
|
|
10353
10329
|
return self.api_client.call_api(
|
10354
|
-
"/api/v1/{owner}/{
|
10330
|
+
"/api/v1/{owner}/{name}/runs/restore",
|
10355
10331
|
"POST",
|
10356
10332
|
_path_params,
|
10357
10333
|
_query_params,
|
@@ -10919,9 +10895,7 @@ class RunsV1Api(BaseApi):
|
|
10919
10895
|
def skip_runs(
|
10920
10896
|
self,
|
10921
10897
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
10922
|
-
|
10923
|
-
StrictStr, Field(..., description="Project under namesapce")
|
10924
|
-
],
|
10898
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
10925
10899
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
10926
10900
|
**kwargs
|
10927
10901
|
) -> None: # noqa: E501
|
@@ -10930,13 +10904,13 @@ class RunsV1Api(BaseApi):
|
|
10930
10904
|
This method makes a synchronous HTTP request by default. To make an
|
10931
10905
|
asynchronous HTTP request, please pass async_req=True
|
10932
10906
|
|
10933
|
-
>>> thread = api.skip_runs(owner,
|
10907
|
+
>>> thread = api.skip_runs(owner, name, body, async_req=True)
|
10934
10908
|
>>> result = thread.get()
|
10935
10909
|
|
10936
10910
|
:param owner: Owner of the namespace (required)
|
10937
10911
|
:type owner: str
|
10938
|
-
:param
|
10939
|
-
:type
|
10912
|
+
:param name: Entity under namespace (required)
|
10913
|
+
:type name: str
|
10940
10914
|
:param body: Uuids of the entities (required)
|
10941
10915
|
:type body: V1Uuids
|
10942
10916
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -10955,17 +10929,13 @@ class RunsV1Api(BaseApi):
|
|
10955
10929
|
:rtype: None
|
10956
10930
|
"""
|
10957
10931
|
kwargs["_return_http_data_only"] = True
|
10958
|
-
return self.skip_runs_with_http_info(
|
10959
|
-
owner, project, body, **kwargs
|
10960
|
-
) # noqa: E501
|
10932
|
+
return self.skip_runs_with_http_info(owner, name, body, **kwargs) # noqa: E501
|
10961
10933
|
|
10962
10934
|
@validate_arguments
|
10963
10935
|
def skip_runs_with_http_info(
|
10964
10936
|
self,
|
10965
10937
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
10966
|
-
|
10967
|
-
StrictStr, Field(..., description="Project under namesapce")
|
10968
|
-
],
|
10938
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
10969
10939
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
10970
10940
|
**kwargs
|
10971
10941
|
): # noqa: E501
|
@@ -10974,13 +10944,13 @@ class RunsV1Api(BaseApi):
|
|
10974
10944
|
This method makes a synchronous HTTP request by default. To make an
|
10975
10945
|
asynchronous HTTP request, please pass async_req=True
|
10976
10946
|
|
10977
|
-
>>> thread = api.skip_runs_with_http_info(owner,
|
10947
|
+
>>> thread = api.skip_runs_with_http_info(owner, name, body, async_req=True)
|
10978
10948
|
>>> result = thread.get()
|
10979
10949
|
|
10980
10950
|
:param owner: Owner of the namespace (required)
|
10981
10951
|
:type owner: str
|
10982
|
-
:param
|
10983
|
-
:type
|
10952
|
+
:param name: Entity under namespace (required)
|
10953
|
+
:type name: str
|
10984
10954
|
:param body: Uuids of the entities (required)
|
10985
10955
|
:type body: V1Uuids
|
10986
10956
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -11009,7 +10979,7 @@ class RunsV1Api(BaseApi):
|
|
11009
10979
|
|
11010
10980
|
_params = locals()
|
11011
10981
|
|
11012
|
-
_all_params = ["owner", "
|
10982
|
+
_all_params = ["owner", "name", "body"]
|
11013
10983
|
_all_params.extend(
|
11014
10984
|
[
|
11015
10985
|
"async_req",
|
@@ -11039,8 +11009,8 @@ class RunsV1Api(BaseApi):
|
|
11039
11009
|
if _params["owner"]:
|
11040
11010
|
_path_params["owner"] = _params["owner"]
|
11041
11011
|
|
11042
|
-
if _params["
|
11043
|
-
_path_params["
|
11012
|
+
if _params["name"]:
|
11013
|
+
_path_params["name"] = _params["name"]
|
11044
11014
|
|
11045
11015
|
# process the query parameters
|
11046
11016
|
_query_params = []
|
@@ -11073,7 +11043,7 @@ class RunsV1Api(BaseApi):
|
|
11073
11043
|
_response_types_map = {}
|
11074
11044
|
|
11075
11045
|
return self.api_client.call_api(
|
11076
|
-
"/api/v1/{owner}/{
|
11046
|
+
"/api/v1/{owner}/{name}/runs/skip",
|
11077
11047
|
"POST",
|
11078
11048
|
_path_params,
|
11079
11049
|
_query_params,
|
@@ -11273,9 +11243,7 @@ class RunsV1Api(BaseApi):
|
|
11273
11243
|
def stop_runs(
|
11274
11244
|
self,
|
11275
11245
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
11276
|
-
|
11277
|
-
StrictStr, Field(..., description="Project under namesapce")
|
11278
|
-
],
|
11246
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
11279
11247
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
11280
11248
|
**kwargs
|
11281
11249
|
) -> None: # noqa: E501
|
@@ -11284,13 +11252,13 @@ class RunsV1Api(BaseApi):
|
|
11284
11252
|
This method makes a synchronous HTTP request by default. To make an
|
11285
11253
|
asynchronous HTTP request, please pass async_req=True
|
11286
11254
|
|
11287
|
-
>>> thread = api.stop_runs(owner,
|
11255
|
+
>>> thread = api.stop_runs(owner, name, body, async_req=True)
|
11288
11256
|
>>> result = thread.get()
|
11289
11257
|
|
11290
11258
|
:param owner: Owner of the namespace (required)
|
11291
11259
|
:type owner: str
|
11292
|
-
:param
|
11293
|
-
:type
|
11260
|
+
:param name: Entity under namespace (required)
|
11261
|
+
:type name: str
|
11294
11262
|
:param body: Uuids of the entities (required)
|
11295
11263
|
:type body: V1Uuids
|
11296
11264
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -11309,17 +11277,13 @@ class RunsV1Api(BaseApi):
|
|
11309
11277
|
:rtype: None
|
11310
11278
|
"""
|
11311
11279
|
kwargs["_return_http_data_only"] = True
|
11312
|
-
return self.stop_runs_with_http_info(
|
11313
|
-
owner, project, body, **kwargs
|
11314
|
-
) # noqa: E501
|
11280
|
+
return self.stop_runs_with_http_info(owner, name, body, **kwargs) # noqa: E501
|
11315
11281
|
|
11316
11282
|
@validate_arguments
|
11317
11283
|
def stop_runs_with_http_info(
|
11318
11284
|
self,
|
11319
11285
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
11320
|
-
|
11321
|
-
StrictStr, Field(..., description="Project under namesapce")
|
11322
|
-
],
|
11286
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
11323
11287
|
body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
|
11324
11288
|
**kwargs
|
11325
11289
|
): # noqa: E501
|
@@ -11328,13 +11292,13 @@ class RunsV1Api(BaseApi):
|
|
11328
11292
|
This method makes a synchronous HTTP request by default. To make an
|
11329
11293
|
asynchronous HTTP request, please pass async_req=True
|
11330
11294
|
|
11331
|
-
>>> thread = api.stop_runs_with_http_info(owner,
|
11295
|
+
>>> thread = api.stop_runs_with_http_info(owner, name, body, async_req=True)
|
11332
11296
|
>>> result = thread.get()
|
11333
11297
|
|
11334
11298
|
:param owner: Owner of the namespace (required)
|
11335
11299
|
:type owner: str
|
11336
|
-
:param
|
11337
|
-
:type
|
11300
|
+
:param name: Entity under namespace (required)
|
11301
|
+
:type name: str
|
11338
11302
|
:param body: Uuids of the entities (required)
|
11339
11303
|
:type body: V1Uuids
|
11340
11304
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -11363,7 +11327,7 @@ class RunsV1Api(BaseApi):
|
|
11363
11327
|
|
11364
11328
|
_params = locals()
|
11365
11329
|
|
11366
|
-
_all_params = ["owner", "
|
11330
|
+
_all_params = ["owner", "name", "body"]
|
11367
11331
|
_all_params.extend(
|
11368
11332
|
[
|
11369
11333
|
"async_req",
|
@@ -11392,8 +11356,8 @@ class RunsV1Api(BaseApi):
|
|
11392
11356
|
_path_params = {}
|
11393
11357
|
if _params["owner"]:
|
11394
11358
|
_path_params["owner"] = _params["owner"]
|
11395
|
-
if _params["
|
11396
|
-
_path_params["
|
11359
|
+
if _params["name"]:
|
11360
|
+
_path_params["name"] = _params["name"]
|
11397
11361
|
|
11398
11362
|
# process the query parameters
|
11399
11363
|
_query_params = []
|
@@ -11429,7 +11393,7 @@ class RunsV1Api(BaseApi):
|
|
11429
11393
|
_response_types_map = {}
|
11430
11394
|
|
11431
11395
|
return self.api_client.call_api(
|
11432
|
-
"/api/v1/{owner}/{
|
11396
|
+
"/api/v1/{owner}/{name}/runs/stop",
|
11433
11397
|
"POST",
|
11434
11398
|
_path_params,
|
11435
11399
|
_query_params,
|
@@ -11629,9 +11593,7 @@ class RunsV1Api(BaseApi):
|
|
11629
11593
|
def tag_runs(
|
11630
11594
|
self,
|
11631
11595
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
11632
|
-
|
11633
|
-
StrictStr, Field(..., description="Project under namesapce")
|
11634
|
-
],
|
11596
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
11635
11597
|
body: Annotated[V1EntitiesTags, Field(..., description="Data")],
|
11636
11598
|
**kwargs
|
11637
11599
|
) -> None: # noqa: E501
|
@@ -11645,8 +11607,8 @@ class RunsV1Api(BaseApi):
|
|
11645
11607
|
|
11646
11608
|
:param owner: Owner of the namespace (required)
|
11647
11609
|
:type owner: str
|
11648
|
-
:param
|
11649
|
-
:type
|
11610
|
+
:param name: Entity under namespace (required)
|
11611
|
+
:type name: str
|
11650
11612
|
:param body: Data (required)
|
11651
11613
|
:type body: V1EntitiesTags
|
11652
11614
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -11665,17 +11627,13 @@ class RunsV1Api(BaseApi):
|
|
11665
11627
|
:rtype: None
|
11666
11628
|
"""
|
11667
11629
|
kwargs["_return_http_data_only"] = True
|
11668
|
-
return self.tag_runs_with_http_info(
|
11669
|
-
owner, project, body, **kwargs
|
11670
|
-
) # noqa: E501
|
11630
|
+
return self.tag_runs_with_http_info(owner, name, body, **kwargs) # noqa: E501
|
11671
11631
|
|
11672
11632
|
@validate_arguments
|
11673
11633
|
def tag_runs_with_http_info(
|
11674
11634
|
self,
|
11675
11635
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
11676
|
-
|
11677
|
-
StrictStr, Field(..., description="Project under namesapce")
|
11678
|
-
],
|
11636
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
11679
11637
|
body: Annotated[V1EntitiesTags, Field(..., description="Data")],
|
11680
11638
|
**kwargs
|
11681
11639
|
): # noqa: E501
|
@@ -11684,13 +11642,13 @@ class RunsV1Api(BaseApi):
|
|
11684
11642
|
This method makes a synchronous HTTP request by default. To make an
|
11685
11643
|
asynchronous HTTP request, please pass async_req=True
|
11686
11644
|
|
11687
|
-
>>> thread = api.tag_runs_with_http_info(owner,
|
11645
|
+
>>> thread = api.tag_runs_with_http_info(owner, name, body, async_req=True)
|
11688
11646
|
>>> result = thread.get()
|
11689
11647
|
|
11690
11648
|
:param owner: Owner of the namespace (required)
|
11691
11649
|
:type owner: str
|
11692
|
-
:param
|
11693
|
-
:type
|
11650
|
+
:param name: Entity under namespace (required)
|
11651
|
+
:type name: str
|
11694
11652
|
:param body: Data (required)
|
11695
11653
|
:type body: V1EntitiesTags
|
11696
11654
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -11719,7 +11677,7 @@ class RunsV1Api(BaseApi):
|
|
11719
11677
|
|
11720
11678
|
_params = locals()
|
11721
11679
|
|
11722
|
-
_all_params = ["owner", "
|
11680
|
+
_all_params = ["owner", "name", "body"]
|
11723
11681
|
_all_params.extend(
|
11724
11682
|
[
|
11725
11683
|
"async_req",
|
@@ -11748,8 +11706,8 @@ class RunsV1Api(BaseApi):
|
|
11748
11706
|
_path_params = {}
|
11749
11707
|
if _params["owner"]:
|
11750
11708
|
_path_params["owner"] = _params["owner"]
|
11751
|
-
if _params["
|
11752
|
-
_path_params["
|
11709
|
+
if _params["name"]:
|
11710
|
+
_path_params["name"] = _params["name"]
|
11753
11711
|
|
11754
11712
|
# process the query parameters
|
11755
11713
|
_query_params = []
|
@@ -11785,7 +11743,7 @@ class RunsV1Api(BaseApi):
|
|
11785
11743
|
_response_types_map = {}
|
11786
11744
|
|
11787
11745
|
return self.api_client.call_api(
|
11788
|
-
"/api/v1/{owner}/{
|
11746
|
+
"/api/v1/{owner}/{name}/runs/tag",
|
11789
11747
|
"POST",
|
11790
11748
|
_path_params,
|
11791
11749
|
_query_params,
|
@@ -11993,9 +11951,7 @@ class RunsV1Api(BaseApi):
|
|
11993
11951
|
def transfer_runs(
|
11994
11952
|
self,
|
11995
11953
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
11996
|
-
|
11997
|
-
StrictStr, Field(..., description="Project under namesapce")
|
11998
|
-
],
|
11954
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
11999
11955
|
body: Annotated[V1EntitiesTransfer, Field(..., description="Data")],
|
12000
11956
|
**kwargs
|
12001
11957
|
) -> None: # noqa: E501
|
@@ -12004,13 +11960,13 @@ class RunsV1Api(BaseApi):
|
|
12004
11960
|
This method makes a synchronous HTTP request by default. To make an
|
12005
11961
|
asynchronous HTTP request, please pass async_req=True
|
12006
11962
|
|
12007
|
-
>>> thread = api.transfer_runs(owner,
|
11963
|
+
>>> thread = api.transfer_runs(owner, name, body, async_req=True)
|
12008
11964
|
>>> result = thread.get()
|
12009
11965
|
|
12010
11966
|
:param owner: Owner of the namespace (required)
|
12011
11967
|
:type owner: str
|
12012
|
-
:param
|
12013
|
-
:type
|
11968
|
+
:param name: Entity under namespace (required)
|
11969
|
+
:type name: str
|
12014
11970
|
:param body: Data (required)
|
12015
11971
|
:type body: V1EntitiesTransfer
|
12016
11972
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -12030,16 +11986,14 @@ class RunsV1Api(BaseApi):
|
|
12030
11986
|
"""
|
12031
11987
|
kwargs["_return_http_data_only"] = True
|
12032
11988
|
return self.transfer_runs_with_http_info(
|
12033
|
-
owner,
|
11989
|
+
owner, name, body, **kwargs
|
12034
11990
|
) # noqa: E501
|
12035
11991
|
|
12036
11992
|
@validate_arguments
|
12037
11993
|
def transfer_runs_with_http_info(
|
12038
11994
|
self,
|
12039
11995
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
12040
|
-
|
12041
|
-
StrictStr, Field(..., description="Project under namesapce")
|
12042
|
-
],
|
11996
|
+
name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
|
12043
11997
|
body: Annotated[V1EntitiesTransfer, Field(..., description="Data")],
|
12044
11998
|
**kwargs
|
12045
11999
|
): # noqa: E501
|
@@ -12048,13 +12002,13 @@ class RunsV1Api(BaseApi):
|
|
12048
12002
|
This method makes a synchronous HTTP request by default. To make an
|
12049
12003
|
asynchronous HTTP request, please pass async_req=True
|
12050
12004
|
|
12051
|
-
>>> thread = api.transfer_runs_with_http_info(owner,
|
12005
|
+
>>> thread = api.transfer_runs_with_http_info(owner, name, body, async_req=True)
|
12052
12006
|
>>> result = thread.get()
|
12053
12007
|
|
12054
12008
|
:param owner: Owner of the namespace (required)
|
12055
12009
|
:type owner: str
|
12056
|
-
:param
|
12057
|
-
:type
|
12010
|
+
:param name: Entity under namespace (required)
|
12011
|
+
:type name: str
|
12058
12012
|
:param body: Data (required)
|
12059
12013
|
:type body: V1EntitiesTransfer
|
12060
12014
|
:param async_req: Whether to execute the request asynchronously.
|
@@ -12083,7 +12037,7 @@ class RunsV1Api(BaseApi):
|
|
12083
12037
|
|
12084
12038
|
_params = locals()
|
12085
12039
|
|
12086
|
-
_all_params = ["owner", "
|
12040
|
+
_all_params = ["owner", "name", "body"]
|
12087
12041
|
_all_params.extend(
|
12088
12042
|
[
|
12089
12043
|
"async_req",
|
@@ -12112,8 +12066,8 @@ class RunsV1Api(BaseApi):
|
|
12112
12066
|
_path_params = {}
|
12113
12067
|
if _params["owner"]:
|
12114
12068
|
_path_params["owner"] = _params["owner"]
|
12115
|
-
if _params["
|
12116
|
-
_path_params["
|
12069
|
+
if _params["name"]:
|
12070
|
+
_path_params["name"] = _params["name"]
|
12117
12071
|
|
12118
12072
|
# process the query parameters
|
12119
12073
|
_query_params = []
|
@@ -12149,7 +12103,7 @@ class RunsV1Api(BaseApi):
|
|
12149
12103
|
_response_types_map = {}
|
12150
12104
|
|
12151
12105
|
return self.api_client.call_api(
|
12152
|
-
"/api/v1/{owner}/{
|
12106
|
+
"/api/v1/{owner}/{name}/runs/transfer",
|
12153
12107
|
"POST",
|
12154
12108
|
_path_params,
|
12155
12109
|
_query_params,
|