polyaxon 2.6.0rc1__py3-none-any.whl → 2.7.0rc0__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/operations.py +1 -1
- polyaxon/_cli/projects.py +2 -2
- polyaxon/_compiler/contexts/contexts.py +5 -5
- polyaxon/_compiler/contexts/dask_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/mpi_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/mx_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/paddle_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/pytroch_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/tf_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/xgb_job.py +1 -1
- polyaxon/_compiler/contexts/ray_job.py +1 -1
- polyaxon/_compiler/resolver/agent.py +1 -1
- polyaxon/_compiler/resolver/runtime.py +1 -1
- polyaxon/_deploy/schemas/deployment.py +1 -0
- polyaxon/_deploy/schemas/ui.py +3 -1
- polyaxon/_docker/converter/base/base.py +1 -1
- polyaxon/_docker/converter/base/env_vars.py +1 -1
- polyaxon/_docker/converter/converters/job.py +1 -1
- polyaxon/_docker/converter/converters/service.py +1 -1
- polyaxon/_flow/component/component.py +4 -0
- polyaxon/_flow/environment/__init__.py +5 -4
- polyaxon/_flow/io/io.py +2 -0
- polyaxon/_flow/matrix/params.py +1 -1
- polyaxon/_flow/operations/compiled_operation.py +4 -0
- polyaxon/_flow/operations/operation.py +5 -3
- polyaxon/_flow/params/params.py +2 -2
- polyaxon/_flow/run/__init__.py +3 -0
- polyaxon/_flow/run/dag.py +6 -6
- polyaxon/_flow/run/dask/dask.py +10 -0
- polyaxon/_flow/run/kubeflow/mpi_job.py +8 -0
- polyaxon/_flow/run/kubeflow/mx_job.py +16 -0
- polyaxon/_flow/run/kubeflow/paddle_job.py +8 -0
- polyaxon/_flow/run/kubeflow/pytorch_job.py +8 -0
- polyaxon/_flow/run/kubeflow/tf_job.py +12 -0
- polyaxon/_flow/run/kubeflow/xgboost_job.py +19 -33
- polyaxon/_flow/run/patch.py +37 -9
- polyaxon/_flow/run/ray/ray.py +9 -0
- polyaxon/_flow/run/resources.py +1 -1
- polyaxon/_fs/fs.py +1 -1
- polyaxon/_k8s/converter/base/containers.py +1 -1
- polyaxon/_k8s/converter/converters/dask_job.py +1 -1
- polyaxon/_k8s/converter/converters/job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/mpi_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/mx_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/paddle_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/pytroch_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/tf_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/xgboost_job.py +1 -1
- polyaxon/_k8s/converter/converters/ray_job.py +1 -2
- polyaxon/_k8s/converter/converters/service.py +1 -1
- polyaxon/_k8s/k8s_validation.py +16 -16
- polyaxon/_k8s/logging/async_monitor.py +4 -4
- polyaxon/_k8s/manager/async_manager.py +5 -3
- polyaxon/_k8s/manager/manager.py +6 -6
- polyaxon/_local_process/converter/base/env_vars.py +1 -1
- polyaxon/_local_process/converter/base/init.py +1 -1
- polyaxon/_local_process/converter/base/mounts.py +0 -2
- polyaxon/_local_process/converter/converters/job.py +1 -1
- polyaxon/_local_process/converter/converters/service.py +1 -1
- polyaxon/_managers/project.py +3 -2
- polyaxon/_polyaxonfile/check.py +4 -4
- polyaxon/_polyaxonfile/specs/compiled_operation.py +8 -6
- polyaxon/_polyaxonfile/specs/libs/parser.py +1 -3
- polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
- polyaxon/_polyaxonfile/specs/operation.py +7 -3
- polyaxon/_pql/manager.py +1 -1
- polyaxon/_pql/parser.py +29 -26
- polyaxon/_runner/agent/base_agent.py +1 -2
- polyaxon/_runner/converter/init/artifacts.py +3 -2
- polyaxon/_runner/converter/init/tensorboard.py +1 -1
- polyaxon/_schemas/client.py +1 -1
- polyaxon/_sdk/api/agents_v1_api.py +56 -80
- polyaxon/_sdk/api/artifacts_stores_v1_api.py +2 -2
- polyaxon/_sdk/api/auth_v1_api.py +2 -6
- polyaxon/_sdk/api/connections_v1_api.py +16 -20
- polyaxon/_sdk/api/dashboards_v1_api.py +14 -14
- polyaxon/_sdk/api/organizations_v1_api.py +1735 -755
- polyaxon/_sdk/api/presets_v1_api.py +18 -26
- polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -19
- polyaxon/_sdk/api/project_searches_v1_api.py +20 -28
- polyaxon/_sdk/api/projects_v1_api.py +74 -92
- polyaxon/_sdk/api/queues_v1_api.py +22 -30
- polyaxon/_sdk/api/runs_v1_api.py +157 -207
- polyaxon/_sdk/api/searches_v1_api.py +16 -20
- polyaxon/_sdk/api/service_accounts_v1_api.py +30 -38
- polyaxon/_sdk/api/tags_v1_api.py +19 -25
- polyaxon/_sdk/api/teams_v1_api.py +64 -90
- polyaxon/_sdk/api/users_v1_api.py +17 -19
- polyaxon/_sdk/api/versions_v1_api.py +4 -4
- polyaxon/_sdk/async_client/rest.py +1 -3
- polyaxon/_sdk/schemas/v1_organization.py +3 -2
- polyaxon/_sdk/schemas/v1_project_settings.py +2 -1
- polyaxon/_sdk/schemas/v1_section_spec.py +1 -1
- polyaxon/_sdk/schemas/v1_user_access.py +3 -2
- polyaxon/_sdk/sync_client/api_client.py +2 -6
- polyaxon/_sdk/sync_client/rest.py +4 -8
- polyaxon/pkg.py +1 -1
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/METADATA +9 -9
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/RECORD +103 -103
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/LICENSE +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/WHEEL +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@ class PresetsV1Api(BaseApi):
|
|
15
15
|
self,
|
16
16
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
17
17
|
body: Annotated[V1Preset, Field(..., description="Preset body")],
|
18
|
-
**kwargs
|
18
|
+
**kwargs,
|
19
19
|
) -> V1Preset:
|
20
20
|
"""Create scheduling presets
|
21
21
|
|
@@ -52,7 +52,7 @@ class PresetsV1Api(BaseApi):
|
|
52
52
|
self,
|
53
53
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
54
54
|
body: Annotated[V1Preset, Field(..., description="Preset body")],
|
55
|
-
**kwargs
|
55
|
+
**kwargs,
|
56
56
|
): # noqa: E501
|
57
57
|
"""Create scheduling presets # noqa: E501
|
58
58
|
|
@@ -190,7 +190,7 @@ class PresetsV1Api(BaseApi):
|
|
190
190
|
Optional[StrictStr],
|
191
191
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
192
192
|
] = None,
|
193
|
-
**kwargs
|
193
|
+
**kwargs,
|
194
194
|
) -> None: # noqa: E501
|
195
195
|
"""Delete scheduling preset # noqa: E501
|
196
196
|
|
@@ -222,9 +222,7 @@ class PresetsV1Api(BaseApi):
|
|
222
222
|
:rtype: None
|
223
223
|
"""
|
224
224
|
kwargs["_return_http_data_only"] = True
|
225
|
-
return self.delete_preset_with_http_info(
|
226
|
-
owner, uuid, entity, **kwargs
|
227
|
-
) # noqa: E501
|
225
|
+
return self.delete_preset_with_http_info(owner, uuid, entity, **kwargs) # noqa: E501
|
228
226
|
|
229
227
|
@validate_call
|
230
228
|
def delete_preset_with_http_info(
|
@@ -237,7 +235,7 @@ class PresetsV1Api(BaseApi):
|
|
237
235
|
Optional[StrictStr],
|
238
236
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
239
237
|
] = None,
|
240
|
-
**kwargs
|
238
|
+
**kwargs,
|
241
239
|
): # noqa: E501
|
242
240
|
"""Delete scheduling preset # noqa: E501
|
243
241
|
|
@@ -366,7 +364,7 @@ class PresetsV1Api(BaseApi):
|
|
366
364
|
Optional[StrictStr],
|
367
365
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
368
366
|
] = None,
|
369
|
-
**kwargs
|
367
|
+
**kwargs,
|
370
368
|
) -> V1Preset: # noqa: E501
|
371
369
|
"""Get scheduling preset # noqa: E501
|
372
370
|
|
@@ -398,9 +396,7 @@ class PresetsV1Api(BaseApi):
|
|
398
396
|
:rtype: V1Preset
|
399
397
|
"""
|
400
398
|
kwargs["_return_http_data_only"] = True
|
401
|
-
return self.get_preset_with_http_info(
|
402
|
-
owner, uuid, entity, **kwargs
|
403
|
-
) # noqa: E501
|
399
|
+
return self.get_preset_with_http_info(owner, uuid, entity, **kwargs) # noqa: E501
|
404
400
|
|
405
401
|
@validate_call
|
406
402
|
def get_preset_with_http_info(
|
@@ -413,7 +409,7 @@ class PresetsV1Api(BaseApi):
|
|
413
409
|
Optional[StrictStr],
|
414
410
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
415
411
|
] = None,
|
416
|
-
**kwargs
|
412
|
+
**kwargs,
|
417
413
|
): # noqa: E501
|
418
414
|
"""Get scheduling preset # noqa: E501
|
419
415
|
|
@@ -557,7 +553,7 @@ class PresetsV1Api(BaseApi):
|
|
557
553
|
Optional[StrictStr], Field(description="Mode of the search.")
|
558
554
|
] = None,
|
559
555
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
560
|
-
**kwargs
|
556
|
+
**kwargs,
|
561
557
|
) -> V1ListPresetsResponse: # noqa: E501
|
562
558
|
"""List scheduling presets names # noqa: E501
|
563
559
|
|
@@ -624,7 +620,7 @@ class PresetsV1Api(BaseApi):
|
|
624
620
|
Optional[StrictStr], Field(description="Mode of the search.")
|
625
621
|
] = None,
|
626
622
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
627
|
-
**kwargs
|
623
|
+
**kwargs,
|
628
624
|
): # noqa: E501
|
629
625
|
"""List scheduling presets names # noqa: E501
|
630
626
|
|
@@ -797,7 +793,7 @@ class PresetsV1Api(BaseApi):
|
|
797
793
|
Optional[StrictStr], Field(description="Mode of the search.")
|
798
794
|
] = None,
|
799
795
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
800
|
-
**kwargs
|
796
|
+
**kwargs,
|
801
797
|
) -> V1ListPresetsResponse: # noqa: E501
|
802
798
|
"""List scheduling presets # noqa: E501
|
803
799
|
|
@@ -864,7 +860,7 @@ class PresetsV1Api(BaseApi):
|
|
864
860
|
Optional[StrictStr], Field(description="Mode of the search.")
|
865
861
|
] = None,
|
866
862
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
867
|
-
**kwargs
|
863
|
+
**kwargs,
|
868
864
|
): # noqa: E501
|
869
865
|
"""List scheduling presets # noqa: E501
|
870
866
|
|
@@ -1022,7 +1018,7 @@ class PresetsV1Api(BaseApi):
|
|
1022
1018
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1023
1019
|
preset_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1024
1020
|
body: Annotated[V1Preset, Field(..., description="Preset body")],
|
1025
|
-
**kwargs
|
1021
|
+
**kwargs,
|
1026
1022
|
) -> V1Preset: # noqa: E501
|
1027
1023
|
"""Patch scheduling preset # noqa: E501
|
1028
1024
|
|
@@ -1054,9 +1050,7 @@ class PresetsV1Api(BaseApi):
|
|
1054
1050
|
:rtype: V1Preset
|
1055
1051
|
"""
|
1056
1052
|
kwargs["_return_http_data_only"] = True
|
1057
|
-
return self.patch_preset_with_http_info(
|
1058
|
-
owner, preset_uuid, body, **kwargs
|
1059
|
-
) # noqa: E501
|
1053
|
+
return self.patch_preset_with_http_info(owner, preset_uuid, body, **kwargs) # noqa: E501
|
1060
1054
|
|
1061
1055
|
@validate_call
|
1062
1056
|
def patch_preset_with_http_info(
|
@@ -1064,7 +1058,7 @@ class PresetsV1Api(BaseApi):
|
|
1064
1058
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1065
1059
|
preset_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1066
1060
|
body: Annotated[V1Preset, Field(..., description="Preset body")],
|
1067
|
-
**kwargs
|
1061
|
+
**kwargs,
|
1068
1062
|
): # noqa: E501
|
1069
1063
|
"""Patch scheduling preset # noqa: E501
|
1070
1064
|
|
@@ -1201,7 +1195,7 @@ class PresetsV1Api(BaseApi):
|
|
1201
1195
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1202
1196
|
preset_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1203
1197
|
body: Annotated[V1Preset, Field(..., description="Preset body")],
|
1204
|
-
**kwargs
|
1198
|
+
**kwargs,
|
1205
1199
|
) -> V1Preset: # noqa: E501
|
1206
1200
|
"""Update scheduling preset # noqa: E501
|
1207
1201
|
|
@@ -1233,9 +1227,7 @@ class PresetsV1Api(BaseApi):
|
|
1233
1227
|
:rtype: V1Preset
|
1234
1228
|
"""
|
1235
1229
|
kwargs["_return_http_data_only"] = True
|
1236
|
-
return self.update_preset_with_http_info(
|
1237
|
-
owner, preset_uuid, body, **kwargs
|
1238
|
-
) # noqa: E501
|
1230
|
+
return self.update_preset_with_http_info(owner, preset_uuid, body, **kwargs) # noqa: E501
|
1239
1231
|
|
1240
1232
|
@validate_call
|
1241
1233
|
def update_preset_with_http_info(
|
@@ -1243,7 +1235,7 @@ class PresetsV1Api(BaseApi):
|
|
1243
1235
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1244
1236
|
preset_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1245
1237
|
body: Annotated[V1Preset, Field(..., description="Preset body")],
|
1246
|
-
**kwargs
|
1238
|
+
**kwargs,
|
1247
1239
|
): # noqa: E501
|
1248
1240
|
"""Update scheduling preset # noqa: E501
|
1249
1241
|
|
@@ -18,7 +18,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
18
18
|
StrictStr, Field(..., description="Project under namespace")
|
19
19
|
],
|
20
20
|
body: Annotated[V1Dashboard, Field(..., description="Dashboard body")],
|
21
|
-
**kwargs
|
21
|
+
**kwargs,
|
22
22
|
) -> V1Dashboard:
|
23
23
|
"""Create project dashboard
|
24
24
|
|
@@ -62,7 +62,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
62
62
|
StrictStr, Field(..., description="Project under namespace")
|
63
63
|
],
|
64
64
|
body: Annotated[V1Dashboard, Field(..., description="Dashboard body")],
|
65
|
-
**kwargs
|
65
|
+
**kwargs,
|
66
66
|
):
|
67
67
|
"""Create project dashboard
|
68
68
|
|
@@ -206,7 +206,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
206
206
|
uuid: Annotated[
|
207
207
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
208
208
|
],
|
209
|
-
**kwargs
|
209
|
+
**kwargs,
|
210
210
|
) -> None: # noqa: E501
|
211
211
|
"""Delete project dashboard # noqa: E501
|
212
212
|
|
@@ -255,7 +255,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
255
255
|
uuid: Annotated[
|
256
256
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
257
257
|
],
|
258
|
-
**kwargs
|
258
|
+
**kwargs,
|
259
259
|
): # noqa: E501
|
260
260
|
"""Delete project dashboard # noqa: E501
|
261
261
|
|
@@ -386,7 +386,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
386
386
|
uuid: Annotated[
|
387
387
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
388
388
|
],
|
389
|
-
**kwargs
|
389
|
+
**kwargs,
|
390
390
|
) -> V1Dashboard: # noqa: E501
|
391
391
|
"""Get project dashboard # noqa: E501
|
392
392
|
|
@@ -418,9 +418,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
418
418
|
:rtype: V1Dashboard
|
419
419
|
"""
|
420
420
|
kwargs["_return_http_data_only"] = True
|
421
|
-
return self.get_project_dashboard_with_http_info(
|
422
|
-
owner, entity, uuid, **kwargs
|
423
|
-
) # noqa: E501
|
421
|
+
return self.get_project_dashboard_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
424
422
|
|
425
423
|
@validate_call
|
426
424
|
def get_project_dashboard_with_http_info(
|
@@ -435,7 +433,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
435
433
|
uuid: Annotated[
|
436
434
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
437
435
|
],
|
438
|
-
**kwargs
|
436
|
+
**kwargs,
|
439
437
|
): # noqa: E501
|
440
438
|
"""Get project dashboard # noqa: E501
|
441
439
|
|
@@ -582,7 +580,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
582
580
|
Optional[StrictStr], Field(description="Mode of the search.")
|
583
581
|
] = None,
|
584
582
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
585
|
-
**kwargs
|
583
|
+
**kwargs,
|
586
584
|
) -> V1ListDashboardsResponse: # noqa: E501
|
587
585
|
"""List project dashboard # noqa: E501
|
588
586
|
|
@@ -654,7 +652,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
654
652
|
Optional[StrictStr], Field(description="Mode of the search.")
|
655
653
|
] = None,
|
656
654
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
657
|
-
**kwargs
|
655
|
+
**kwargs,
|
658
656
|
): # noqa: E501
|
659
657
|
"""List project dashboard # noqa: E501
|
660
658
|
|
@@ -835,7 +833,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
835
833
|
Optional[StrictStr], Field(description="Mode of the search.")
|
836
834
|
] = None,
|
837
835
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
838
|
-
**kwargs
|
836
|
+
**kwargs,
|
839
837
|
) -> V1ListDashboardsResponse: # noqa: E501
|
840
838
|
"""List project dashboards # noqa: E501
|
841
839
|
|
@@ -907,7 +905,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
907
905
|
Optional[StrictStr], Field(description="Mode of the search.")
|
908
906
|
] = None,
|
909
907
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
910
|
-
**kwargs
|
908
|
+
**kwargs,
|
911
909
|
): # noqa: E501
|
912
910
|
"""List project dashboards # noqa: E501
|
913
911
|
|
@@ -1073,7 +1071,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
1073
1071
|
],
|
1074
1072
|
dashboard_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1075
1073
|
body: Annotated[V1Dashboard, Field(..., description="Dashboard body")],
|
1076
|
-
**kwargs
|
1074
|
+
**kwargs,
|
1077
1075
|
) -> V1Dashboard: # noqa: E501
|
1078
1076
|
"""Patch project dashboard # noqa: E501
|
1079
1077
|
|
@@ -1120,7 +1118,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
1120
1118
|
],
|
1121
1119
|
dashboard_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1122
1120
|
body: Annotated[V1Dashboard, Field(..., description="Dashboard body")],
|
1123
|
-
**kwargs
|
1121
|
+
**kwargs,
|
1124
1122
|
): # noqa: E501
|
1125
1123
|
"""Patch project dashboard # noqa: E501
|
1126
1124
|
|
@@ -1268,7 +1266,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
1268
1266
|
uuid: Annotated[
|
1269
1267
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
1270
1268
|
],
|
1271
|
-
**kwargs
|
1269
|
+
**kwargs,
|
1272
1270
|
) -> None: # noqa: E501
|
1273
1271
|
"""Promote project dashboard # noqa: E501
|
1274
1272
|
|
@@ -1317,7 +1315,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
1317
1315
|
uuid: Annotated[
|
1318
1316
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
1319
1317
|
],
|
1320
|
-
**kwargs
|
1318
|
+
**kwargs,
|
1321
1319
|
): # noqa: E501
|
1322
1320
|
"""Promote project dashboard # noqa: E501
|
1323
1321
|
|
@@ -1444,7 +1442,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
1444
1442
|
],
|
1445
1443
|
dashboard_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1446
1444
|
body: Annotated[V1Dashboard, Field(..., description="Dashboard body")],
|
1447
|
-
**kwargs
|
1445
|
+
**kwargs,
|
1448
1446
|
) -> V1Dashboard: # noqa: E501
|
1449
1447
|
"""Update project dashboard # noqa: E501
|
1450
1448
|
|
@@ -1491,7 +1489,7 @@ class ProjectDashboardsV1Api(BaseApi):
|
|
1491
1489
|
],
|
1492
1490
|
dashboard_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1493
1491
|
body: Annotated[V1Dashboard, Field(..., description="Dashboard body")],
|
1494
|
-
**kwargs
|
1492
|
+
**kwargs,
|
1495
1493
|
): # noqa: E501
|
1496
1494
|
"""Update project dashboard # noqa: E501
|
1497
1495
|
|
@@ -18,7 +18,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
18
18
|
StrictStr, Field(..., description="Project under namespace")
|
19
19
|
],
|
20
20
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
21
|
-
**kwargs
|
21
|
+
**kwargs,
|
22
22
|
) -> V1Search: # noqa: E501
|
23
23
|
"""Create project search # noqa: E501
|
24
24
|
|
@@ -50,9 +50,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
50
50
|
:rtype: V1Search
|
51
51
|
"""
|
52
52
|
kwargs["_return_http_data_only"] = True
|
53
|
-
return self.create_project_search_with_http_info(
|
54
|
-
owner, project, body, **kwargs
|
55
|
-
) # noqa: E501
|
53
|
+
return self.create_project_search_with_http_info(owner, project, body, **kwargs) # noqa: E501
|
56
54
|
|
57
55
|
@validate_call
|
58
56
|
def create_project_search_with_http_info(
|
@@ -62,7 +60,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
62
60
|
StrictStr, Field(..., description="Project under namespace")
|
63
61
|
],
|
64
62
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
65
|
-
**kwargs
|
63
|
+
**kwargs,
|
66
64
|
): # noqa: E501
|
67
65
|
"""Create project search # noqa: E501
|
68
66
|
|
@@ -206,7 +204,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
206
204
|
uuid: Annotated[
|
207
205
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
208
206
|
],
|
209
|
-
**kwargs
|
207
|
+
**kwargs,
|
210
208
|
) -> None: # noqa: E501
|
211
209
|
"""Delete project search # noqa: E501
|
212
210
|
|
@@ -238,9 +236,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
238
236
|
:rtype: None
|
239
237
|
"""
|
240
238
|
kwargs["_return_http_data_only"] = True
|
241
|
-
return self.delete_project_search_with_http_info(
|
242
|
-
owner, entity, uuid, **kwargs
|
243
|
-
) # noqa: E501
|
239
|
+
return self.delete_project_search_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
244
240
|
|
245
241
|
@validate_call
|
246
242
|
def delete_project_search_with_http_info(
|
@@ -255,7 +251,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
255
251
|
uuid: Annotated[
|
256
252
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
257
253
|
],
|
258
|
-
**kwargs
|
254
|
+
**kwargs,
|
259
255
|
): # noqa: E501
|
260
256
|
"""Delete project search # noqa: E501
|
261
257
|
|
@@ -386,7 +382,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
386
382
|
uuid: Annotated[
|
387
383
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
388
384
|
],
|
389
|
-
**kwargs
|
385
|
+
**kwargs,
|
390
386
|
) -> V1Search: # noqa: E501
|
391
387
|
"""Get project search # noqa: E501
|
392
388
|
|
@@ -418,9 +414,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
418
414
|
:rtype: V1Search
|
419
415
|
"""
|
420
416
|
kwargs["_return_http_data_only"] = True
|
421
|
-
return self.get_project_search_with_http_info(
|
422
|
-
owner, entity, uuid, **kwargs
|
423
|
-
) # noqa: E501
|
417
|
+
return self.get_project_search_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
424
418
|
|
425
419
|
@validate_call
|
426
420
|
def get_project_search_with_http_info(
|
@@ -435,7 +429,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
435
429
|
uuid: Annotated[
|
436
430
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
437
431
|
],
|
438
|
-
**kwargs
|
432
|
+
**kwargs,
|
439
433
|
): # noqa: E501
|
440
434
|
"""Get project search # noqa: E501
|
441
435
|
|
@@ -582,7 +576,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
582
576
|
Optional[StrictStr], Field(description="Mode of the search.")
|
583
577
|
] = None,
|
584
578
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
585
|
-
**kwargs
|
579
|
+
**kwargs,
|
586
580
|
) -> V1ListSearchesResponse: # noqa: E501
|
587
581
|
"""List project search names # noqa: E501
|
588
582
|
|
@@ -654,7 +648,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
654
648
|
Optional[StrictStr], Field(description="Mode of the search.")
|
655
649
|
] = None,
|
656
650
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
657
|
-
**kwargs
|
651
|
+
**kwargs,
|
658
652
|
): # noqa: E501
|
659
653
|
"""List project search names # noqa: E501
|
660
654
|
|
@@ -835,7 +829,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
835
829
|
Optional[StrictStr], Field(description="Mode of the search.")
|
836
830
|
] = None,
|
837
831
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
838
|
-
**kwargs
|
832
|
+
**kwargs,
|
839
833
|
) -> V1ListSearchesResponse: # noqa: E501
|
840
834
|
"""List project searches # noqa: E501
|
841
835
|
|
@@ -907,7 +901,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
907
901
|
Optional[StrictStr], Field(description="Mode of the search.")
|
908
902
|
] = None,
|
909
903
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
910
|
-
**kwargs
|
904
|
+
**kwargs,
|
911
905
|
): # noqa: E501
|
912
906
|
"""List project searches # noqa: E501
|
913
907
|
|
@@ -1073,7 +1067,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1073
1067
|
],
|
1074
1068
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1075
1069
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1076
|
-
**kwargs
|
1070
|
+
**kwargs,
|
1077
1071
|
) -> V1Search: # noqa: E501
|
1078
1072
|
"""Patch project search # noqa: E501
|
1079
1073
|
|
@@ -1120,7 +1114,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1120
1114
|
],
|
1121
1115
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1122
1116
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1123
|
-
**kwargs
|
1117
|
+
**kwargs,
|
1124
1118
|
): # noqa: E501
|
1125
1119
|
"""Patch project search # noqa: E501
|
1126
1120
|
|
@@ -1268,7 +1262,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1268
1262
|
uuid: Annotated[
|
1269
1263
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
1270
1264
|
],
|
1271
|
-
**kwargs
|
1265
|
+
**kwargs,
|
1272
1266
|
) -> None: # noqa: E501
|
1273
1267
|
"""Promote project search # noqa: E501
|
1274
1268
|
|
@@ -1300,9 +1294,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1300
1294
|
:rtype: None
|
1301
1295
|
"""
|
1302
1296
|
kwargs["_return_http_data_only"] = True
|
1303
|
-
return self.promote_project_search_with_http_info(
|
1304
|
-
owner, entity, uuid, **kwargs
|
1305
|
-
) # noqa: E501
|
1297
|
+
return self.promote_project_search_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
1306
1298
|
|
1307
1299
|
@validate_call
|
1308
1300
|
def promote_project_search_with_http_info(
|
@@ -1317,7 +1309,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1317
1309
|
uuid: Annotated[
|
1318
1310
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
1319
1311
|
],
|
1320
|
-
**kwargs
|
1312
|
+
**kwargs,
|
1321
1313
|
): # noqa: E501
|
1322
1314
|
"""Promote project search # noqa: E501
|
1323
1315
|
|
@@ -1444,7 +1436,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1444
1436
|
],
|
1445
1437
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1446
1438
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1447
|
-
**kwargs
|
1439
|
+
**kwargs,
|
1448
1440
|
) -> V1Search: # noqa: E501
|
1449
1441
|
"""Update project search # noqa: E501
|
1450
1442
|
|
@@ -1491,7 +1483,7 @@ class ProjectSearchesV1Api(BaseApi):
|
|
1491
1483
|
],
|
1492
1484
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1493
1485
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1494
|
-
**kwargs
|
1486
|
+
**kwargs,
|
1495
1487
|
): # noqa: E501
|
1496
1488
|
"""Update project search # noqa: E501
|
1497
1489
|
|