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
@@ -24,7 +24,7 @@ class ProjectsV1Api(BaseApi):
|
|
24
24
|
self,
|
25
25
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
26
26
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
27
|
-
**kwargs
|
27
|
+
**kwargs,
|
28
28
|
) -> None:
|
29
29
|
"""Archive project
|
30
30
|
|
@@ -61,7 +61,7 @@ class ProjectsV1Api(BaseApi):
|
|
61
61
|
self,
|
62
62
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
63
63
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
64
|
-
**kwargs
|
64
|
+
**kwargs,
|
65
65
|
):
|
66
66
|
"""Archive project
|
67
67
|
|
@@ -180,7 +180,7 @@ class ProjectsV1Api(BaseApi):
|
|
180
180
|
self,
|
181
181
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
182
182
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
183
|
-
**kwargs
|
183
|
+
**kwargs,
|
184
184
|
) -> None: # noqa: E501
|
185
185
|
"""Bookmark project # noqa: E501
|
186
186
|
|
@@ -217,7 +217,7 @@ class ProjectsV1Api(BaseApi):
|
|
217
217
|
self,
|
218
218
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
219
219
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
220
|
-
**kwargs
|
220
|
+
**kwargs,
|
221
221
|
): # noqa: E501
|
222
222
|
"""Bookmark project # noqa: E501
|
223
223
|
|
@@ -336,7 +336,7 @@ class ProjectsV1Api(BaseApi):
|
|
336
336
|
self,
|
337
337
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
338
338
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
339
|
-
**kwargs
|
339
|
+
**kwargs,
|
340
340
|
) -> V1Project: # noqa: E501
|
341
341
|
"""Create new project # noqa: E501
|
342
342
|
|
@@ -373,7 +373,7 @@ class ProjectsV1Api(BaseApi):
|
|
373
373
|
self,
|
374
374
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
375
375
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
376
|
-
**kwargs
|
376
|
+
**kwargs,
|
377
377
|
): # noqa: E501
|
378
378
|
"""Create new project # noqa: E501
|
379
379
|
|
@@ -506,7 +506,7 @@ class ProjectsV1Api(BaseApi):
|
|
506
506
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
507
507
|
team: Annotated[StrictStr, Field(..., description="Team")],
|
508
508
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
509
|
-
**kwargs
|
509
|
+
**kwargs,
|
510
510
|
) -> V1Project: # noqa: E501
|
511
511
|
"""Create new project via team space # noqa: E501
|
512
512
|
|
@@ -538,9 +538,7 @@ class ProjectsV1Api(BaseApi):
|
|
538
538
|
:rtype: V1Project
|
539
539
|
"""
|
540
540
|
kwargs["_return_http_data_only"] = True
|
541
|
-
return self.create_team_project_with_http_info(
|
542
|
-
owner, team, body, **kwargs
|
543
|
-
) # noqa: E501
|
541
|
+
return self.create_team_project_with_http_info(owner, team, body, **kwargs) # noqa: E501
|
544
542
|
|
545
543
|
@validate_call
|
546
544
|
def create_team_project_with_http_info(
|
@@ -548,7 +546,7 @@ class ProjectsV1Api(BaseApi):
|
|
548
546
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
549
547
|
team: Annotated[StrictStr, Field(..., description="Team")],
|
550
548
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
551
|
-
**kwargs
|
549
|
+
**kwargs,
|
552
550
|
): # noqa: E501
|
553
551
|
"""Create new project via team space # noqa: E501
|
554
552
|
|
@@ -689,7 +687,7 @@ class ProjectsV1Api(BaseApi):
|
|
689
687
|
body: Annotated[
|
690
688
|
V1ProjectVersion, Field(..., description="Project version body")
|
691
689
|
],
|
692
|
-
**kwargs
|
690
|
+
**kwargs,
|
693
691
|
) -> V1ProjectVersion: # noqa: E501
|
694
692
|
"""Create version # noqa: E501
|
695
693
|
|
@@ -739,7 +737,7 @@ class ProjectsV1Api(BaseApi):
|
|
739
737
|
body: Annotated[
|
740
738
|
V1ProjectVersion, Field(..., description="Project version body")
|
741
739
|
],
|
742
|
-
**kwargs
|
740
|
+
**kwargs,
|
743
741
|
): # noqa: E501
|
744
742
|
"""Create version # noqa: E501
|
745
743
|
|
@@ -890,7 +888,7 @@ class ProjectsV1Api(BaseApi):
|
|
890
888
|
Field(..., description="Name of the entity to apply the stage to"),
|
891
889
|
],
|
892
890
|
body: V1EntityStageBodyRequest,
|
893
|
-
**kwargs
|
891
|
+
**kwargs,
|
894
892
|
) -> V1Stage: # noqa: E501
|
895
893
|
"""Create new artifact version stage # noqa: E501
|
896
894
|
|
@@ -946,7 +944,7 @@ class ProjectsV1Api(BaseApi):
|
|
946
944
|
Field(..., description="Name of the entity to apply the stage to"),
|
947
945
|
],
|
948
946
|
body: V1EntityStageBodyRequest,
|
949
|
-
**kwargs
|
947
|
+
**kwargs,
|
950
948
|
): # noqa: E501
|
951
949
|
"""Create new artifact version stage # noqa: E501
|
952
950
|
|
@@ -1090,7 +1088,7 @@ class ProjectsV1Api(BaseApi):
|
|
1090
1088
|
self,
|
1091
1089
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1092
1090
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1093
|
-
**kwargs
|
1091
|
+
**kwargs,
|
1094
1092
|
) -> None: # noqa: E501
|
1095
1093
|
"""Delete project # noqa: E501
|
1096
1094
|
|
@@ -1127,7 +1125,7 @@ class ProjectsV1Api(BaseApi):
|
|
1127
1125
|
self,
|
1128
1126
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1129
1127
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1130
|
-
**kwargs
|
1128
|
+
**kwargs,
|
1131
1129
|
): # noqa: E501
|
1132
1130
|
"""Delete project # noqa: E501
|
1133
1131
|
|
@@ -1253,7 +1251,7 @@ class ProjectsV1Api(BaseApi):
|
|
1253
1251
|
],
|
1254
1252
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
1255
1253
|
name: Annotated[StrictStr, Field(..., description="Sub-entity name")],
|
1256
|
-
**kwargs
|
1254
|
+
**kwargs,
|
1257
1255
|
) -> None: # noqa: E501
|
1258
1256
|
"""Delete version # noqa: E501
|
1259
1257
|
|
@@ -1287,9 +1285,7 @@ class ProjectsV1Api(BaseApi):
|
|
1287
1285
|
:rtype: None
|
1288
1286
|
"""
|
1289
1287
|
kwargs["_return_http_data_only"] = True
|
1290
|
-
return self.delete_version_with_http_info(
|
1291
|
-
owner, entity, kind, name, **kwargs
|
1292
|
-
) # noqa: E501
|
1288
|
+
return self.delete_version_with_http_info(owner, entity, kind, name, **kwargs) # noqa: E501
|
1293
1289
|
|
1294
1290
|
@validate_call
|
1295
1291
|
def delete_version_with_http_info(
|
@@ -1303,7 +1299,7 @@ class ProjectsV1Api(BaseApi):
|
|
1303
1299
|
],
|
1304
1300
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
1305
1301
|
name: Annotated[StrictStr, Field(..., description="Sub-entity name")],
|
1306
|
-
**kwargs
|
1302
|
+
**kwargs,
|
1307
1303
|
): # noqa: E501
|
1308
1304
|
"""Delete version # noqa: E501
|
1309
1305
|
|
@@ -1430,7 +1426,7 @@ class ProjectsV1Api(BaseApi):
|
|
1430
1426
|
self,
|
1431
1427
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1432
1428
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1433
|
-
**kwargs
|
1429
|
+
**kwargs,
|
1434
1430
|
) -> None: # noqa: E501
|
1435
1431
|
"""Disbale project CI # noqa: E501
|
1436
1432
|
|
@@ -1460,16 +1456,14 @@ class ProjectsV1Api(BaseApi):
|
|
1460
1456
|
:rtype: None
|
1461
1457
|
"""
|
1462
1458
|
kwargs["_return_http_data_only"] = True
|
1463
|
-
return self.disable_project_ci_with_http_info(
|
1464
|
-
owner, name, **kwargs
|
1465
|
-
) # noqa: E501
|
1459
|
+
return self.disable_project_ci_with_http_info(owner, name, **kwargs) # noqa: E501
|
1466
1460
|
|
1467
1461
|
@validate_call
|
1468
1462
|
def disable_project_ci_with_http_info(
|
1469
1463
|
self,
|
1470
1464
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1471
1465
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1472
|
-
**kwargs
|
1466
|
+
**kwargs,
|
1473
1467
|
): # noqa: E501
|
1474
1468
|
"""Disbale project CI # noqa: E501
|
1475
1469
|
|
@@ -1588,7 +1582,7 @@ class ProjectsV1Api(BaseApi):
|
|
1588
1582
|
self,
|
1589
1583
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1590
1584
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1591
|
-
**kwargs
|
1585
|
+
**kwargs,
|
1592
1586
|
) -> None: # noqa: E501
|
1593
1587
|
"""Enable project CI # noqa: E501
|
1594
1588
|
|
@@ -1618,16 +1612,14 @@ class ProjectsV1Api(BaseApi):
|
|
1618
1612
|
:rtype: None
|
1619
1613
|
"""
|
1620
1614
|
kwargs["_return_http_data_only"] = True
|
1621
|
-
return self.enable_project_ci_with_http_info(
|
1622
|
-
owner, name, **kwargs
|
1623
|
-
) # noqa: E501
|
1615
|
+
return self.enable_project_ci_with_http_info(owner, name, **kwargs) # noqa: E501
|
1624
1616
|
|
1625
1617
|
@validate_call
|
1626
1618
|
def enable_project_ci_with_http_info(
|
1627
1619
|
self,
|
1628
1620
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1629
1621
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1630
|
-
**kwargs
|
1622
|
+
**kwargs,
|
1631
1623
|
): # noqa: E501
|
1632
1624
|
"""Enable project CI # noqa: E501
|
1633
1625
|
|
@@ -1746,7 +1738,7 @@ class ProjectsV1Api(BaseApi):
|
|
1746
1738
|
self,
|
1747
1739
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1748
1740
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1749
|
-
**kwargs
|
1741
|
+
**kwargs,
|
1750
1742
|
) -> V1Project: # noqa: E501
|
1751
1743
|
"""Get project # noqa: E501
|
1752
1744
|
|
@@ -1783,7 +1775,7 @@ class ProjectsV1Api(BaseApi):
|
|
1783
1775
|
self,
|
1784
1776
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1785
1777
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1786
|
-
**kwargs
|
1778
|
+
**kwargs,
|
1787
1779
|
): # noqa: E501
|
1788
1780
|
"""Get project # noqa: E501
|
1789
1781
|
|
@@ -1926,7 +1918,7 @@ class ProjectsV1Api(BaseApi):
|
|
1926
1918
|
Optional[StrictStr], Field(description="Mode of the search.")
|
1927
1919
|
] = None,
|
1928
1920
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1929
|
-
**kwargs
|
1921
|
+
**kwargs,
|
1930
1922
|
) -> V1ListActivitiesResponse: # noqa: E501
|
1931
1923
|
"""Get project activities # noqa: E501
|
1932
1924
|
|
@@ -1998,7 +1990,7 @@ class ProjectsV1Api(BaseApi):
|
|
1998
1990
|
Optional[StrictStr], Field(description="Mode of the search.")
|
1999
1991
|
] = None,
|
2000
1992
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
2001
|
-
**kwargs
|
1993
|
+
**kwargs,
|
2002
1994
|
): # noqa: E501
|
2003
1995
|
"""Get project activities # noqa: E501
|
2004
1996
|
|
@@ -2160,7 +2152,7 @@ class ProjectsV1Api(BaseApi):
|
|
2160
2152
|
self,
|
2161
2153
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2162
2154
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
2163
|
-
**kwargs
|
2155
|
+
**kwargs,
|
2164
2156
|
) -> V1ProjectSettings: # noqa: E501
|
2165
2157
|
"""Get Project settings # noqa: E501
|
2166
2158
|
|
@@ -2190,16 +2182,14 @@ class ProjectsV1Api(BaseApi):
|
|
2190
2182
|
:rtype: V1ProjectSettings
|
2191
2183
|
"""
|
2192
2184
|
kwargs["_return_http_data_only"] = True
|
2193
|
-
return self.get_project_settings_with_http_info(
|
2194
|
-
owner, name, **kwargs
|
2195
|
-
) # noqa: E501
|
2185
|
+
return self.get_project_settings_with_http_info(owner, name, **kwargs) # noqa: E501
|
2196
2186
|
|
2197
2187
|
@validate_call
|
2198
2188
|
def get_project_settings_with_http_info(
|
2199
2189
|
self,
|
2200
2190
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2201
2191
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
2202
|
-
**kwargs
|
2192
|
+
**kwargs,
|
2203
2193
|
): # noqa: E501
|
2204
2194
|
"""Get Project settings # noqa: E501
|
2205
2195
|
|
@@ -2347,7 +2337,7 @@ class ProjectsV1Api(BaseApi):
|
|
2347
2337
|
Optional[StrictStr], Field(description="Stats group.")
|
2348
2338
|
] = None,
|
2349
2339
|
trunc: Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None,
|
2350
|
-
**kwargs
|
2340
|
+
**kwargs,
|
2351
2341
|
) -> object: # noqa: E501
|
2352
2342
|
"""Get project stats # noqa: E501
|
2353
2343
|
|
@@ -2410,7 +2400,7 @@ class ProjectsV1Api(BaseApi):
|
|
2410
2400
|
aggregate,
|
2411
2401
|
groupby,
|
2412
2402
|
trunc,
|
2413
|
-
**kwargs
|
2403
|
+
**kwargs,
|
2414
2404
|
) # noqa: E501
|
2415
2405
|
|
2416
2406
|
@validate_call
|
@@ -2442,7 +2432,7 @@ class ProjectsV1Api(BaseApi):
|
|
2442
2432
|
Optional[StrictStr], Field(description="Stats group.")
|
2443
2433
|
] = None,
|
2444
2434
|
trunc: Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None,
|
2445
|
-
**kwargs
|
2435
|
+
**kwargs,
|
2446
2436
|
): # noqa: E501
|
2447
2437
|
"""Get project stats # noqa: E501
|
2448
2438
|
|
@@ -2626,7 +2616,7 @@ class ProjectsV1Api(BaseApi):
|
|
2626
2616
|
],
|
2627
2617
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
2628
2618
|
name: Annotated[StrictStr, Field(..., description="Sub-entity name")],
|
2629
|
-
**kwargs
|
2619
|
+
**kwargs,
|
2630
2620
|
) -> V1ProjectVersion: # noqa: E501
|
2631
2621
|
"""Get version # noqa: E501
|
2632
2622
|
|
@@ -2660,9 +2650,7 @@ class ProjectsV1Api(BaseApi):
|
|
2660
2650
|
:rtype: V1ProjectVersion
|
2661
2651
|
"""
|
2662
2652
|
kwargs["_return_http_data_only"] = True
|
2663
|
-
return self.get_version_with_http_info(
|
2664
|
-
owner, entity, kind, name, **kwargs
|
2665
|
-
) # noqa: E501
|
2653
|
+
return self.get_version_with_http_info(owner, entity, kind, name, **kwargs) # noqa: E501
|
2666
2654
|
|
2667
2655
|
@validate_call
|
2668
2656
|
def get_version_with_http_info(
|
@@ -2676,7 +2664,7 @@ class ProjectsV1Api(BaseApi):
|
|
2676
2664
|
],
|
2677
2665
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
2678
2666
|
name: Annotated[StrictStr, Field(..., description="Sub-entity name")],
|
2679
|
-
**kwargs
|
2667
|
+
**kwargs,
|
2680
2668
|
): # noqa: E501
|
2681
2669
|
"""Get version # noqa: E501
|
2682
2670
|
|
@@ -2815,7 +2803,7 @@ class ProjectsV1Api(BaseApi):
|
|
2815
2803
|
],
|
2816
2804
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
2817
2805
|
name: Annotated[StrictStr, Field(..., description="Sub-entity name")],
|
2818
|
-
**kwargs
|
2806
|
+
**kwargs,
|
2819
2807
|
) -> V1Stage: # noqa: E501
|
2820
2808
|
"""Get version stages # noqa: E501
|
2821
2809
|
|
@@ -2865,7 +2853,7 @@ class ProjectsV1Api(BaseApi):
|
|
2865
2853
|
],
|
2866
2854
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
2867
2855
|
name: Annotated[StrictStr, Field(..., description="Sub-entity name")],
|
2868
|
-
**kwargs
|
2856
|
+
**kwargs,
|
2869
2857
|
): # noqa: E501
|
2870
2858
|
"""Get version stages # noqa: E501
|
2871
2859
|
|
@@ -3007,7 +2995,7 @@ class ProjectsV1Api(BaseApi):
|
|
3007
2995
|
Optional[StrictStr], Field(description="Query filter the search.")
|
3008
2996
|
] = None,
|
3009
2997
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3010
|
-
**kwargs
|
2998
|
+
**kwargs,
|
3011
2999
|
) -> V1ListProjectsResponse: # noqa: E501
|
3012
3000
|
"""List archived projects for user # noqa: E501
|
3013
3001
|
|
@@ -3064,7 +3052,7 @@ class ProjectsV1Api(BaseApi):
|
|
3064
3052
|
Optional[StrictStr], Field(description="Query filter the search.")
|
3065
3053
|
] = None,
|
3066
3054
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3067
|
-
**kwargs
|
3055
|
+
**kwargs,
|
3068
3056
|
): # noqa: E501
|
3069
3057
|
"""List archived projects for user # noqa: E501
|
3070
3058
|
|
@@ -3214,7 +3202,7 @@ class ProjectsV1Api(BaseApi):
|
|
3214
3202
|
Optional[StrictStr], Field(description="Query filter the search.")
|
3215
3203
|
] = None,
|
3216
3204
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3217
|
-
**kwargs
|
3205
|
+
**kwargs,
|
3218
3206
|
) -> V1ListBookmarksResponse: # noqa: E501
|
3219
3207
|
"""List bookmarked projects for user # noqa: E501
|
3220
3208
|
|
@@ -3271,7 +3259,7 @@ class ProjectsV1Api(BaseApi):
|
|
3271
3259
|
Optional[StrictStr], Field(description="Query filter the search.")
|
3272
3260
|
] = None,
|
3273
3261
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3274
|
-
**kwargs
|
3262
|
+
**kwargs,
|
3275
3263
|
): # noqa: E501
|
3276
3264
|
"""List bookmarked projects for user # noqa: E501
|
3277
3265
|
|
@@ -3427,7 +3415,7 @@ class ProjectsV1Api(BaseApi):
|
|
3427
3415
|
Optional[StrictStr], Field(description="Mode of the search.")
|
3428
3416
|
] = None,
|
3429
3417
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3430
|
-
**kwargs
|
3418
|
+
**kwargs,
|
3431
3419
|
) -> V1ListProjectsResponse: # noqa: E501
|
3432
3420
|
"""List project names # noqa: E501
|
3433
3421
|
|
@@ -3494,7 +3482,7 @@ class ProjectsV1Api(BaseApi):
|
|
3494
3482
|
Optional[StrictStr], Field(description="Mode of the search.")
|
3495
3483
|
] = None,
|
3496
3484
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3497
|
-
**kwargs
|
3485
|
+
**kwargs,
|
3498
3486
|
): # noqa: E501
|
3499
3487
|
"""List project names # noqa: E501
|
3500
3488
|
|
@@ -3667,7 +3655,7 @@ class ProjectsV1Api(BaseApi):
|
|
3667
3655
|
Optional[StrictStr], Field(description="Mode of the search.")
|
3668
3656
|
] = None,
|
3669
3657
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3670
|
-
**kwargs
|
3658
|
+
**kwargs,
|
3671
3659
|
) -> V1ListProjectsResponse: # noqa: E501
|
3672
3660
|
"""List projects # noqa: E501
|
3673
3661
|
|
@@ -3734,7 +3722,7 @@ class ProjectsV1Api(BaseApi):
|
|
3734
3722
|
Optional[StrictStr], Field(description="Mode of the search.")
|
3735
3723
|
] = None,
|
3736
3724
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3737
|
-
**kwargs
|
3725
|
+
**kwargs,
|
3738
3726
|
): # noqa: E501
|
3739
3727
|
"""List projects # noqa: E501
|
3740
3728
|
|
@@ -3905,7 +3893,7 @@ class ProjectsV1Api(BaseApi):
|
|
3905
3893
|
Optional[StrictStr], Field(description="Query filter the search.")
|
3906
3894
|
] = None,
|
3907
3895
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3908
|
-
**kwargs
|
3896
|
+
**kwargs,
|
3909
3897
|
) -> V1ListProjectVersionsResponse: # noqa: E501
|
3910
3898
|
"""List versions names # noqa: E501
|
3911
3899
|
|
@@ -3970,7 +3958,7 @@ class ProjectsV1Api(BaseApi):
|
|
3970
3958
|
Optional[StrictStr], Field(description="Query filter the search.")
|
3971
3959
|
] = None,
|
3972
3960
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
3973
|
-
**kwargs
|
3961
|
+
**kwargs,
|
3974
3962
|
): # noqa: E501
|
3975
3963
|
"""List versions names # noqa: E501
|
3976
3964
|
|
@@ -4141,7 +4129,7 @@ class ProjectsV1Api(BaseApi):
|
|
4141
4129
|
Optional[StrictStr], Field(description="Query filter the search.")
|
4142
4130
|
] = None,
|
4143
4131
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
4144
|
-
**kwargs
|
4132
|
+
**kwargs,
|
4145
4133
|
) -> V1ListProjectVersionsResponse: # noqa: E501
|
4146
4134
|
"""List versions # noqa: E501
|
4147
4135
|
|
@@ -4206,7 +4194,7 @@ class ProjectsV1Api(BaseApi):
|
|
4206
4194
|
Optional[StrictStr], Field(description="Query filter the search.")
|
4207
4195
|
] = None,
|
4208
4196
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
4209
|
-
**kwargs
|
4197
|
+
**kwargs,
|
4210
4198
|
): # noqa: E501
|
4211
4199
|
"""List versions # noqa: E501
|
4212
4200
|
|
@@ -4364,7 +4352,7 @@ class ProjectsV1Api(BaseApi):
|
|
4364
4352
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4365
4353
|
project_name: Annotated[StrictStr, Field(..., description="Required name")],
|
4366
4354
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
4367
|
-
**kwargs
|
4355
|
+
**kwargs,
|
4368
4356
|
) -> V1Project: # noqa: E501
|
4369
4357
|
"""Patch project # noqa: E501
|
4370
4358
|
|
@@ -4396,9 +4384,7 @@ class ProjectsV1Api(BaseApi):
|
|
4396
4384
|
:rtype: V1Project
|
4397
4385
|
"""
|
4398
4386
|
kwargs["_return_http_data_only"] = True
|
4399
|
-
return self.patch_project_with_http_info(
|
4400
|
-
owner, project_name, body, **kwargs
|
4401
|
-
) # noqa: E501
|
4387
|
+
return self.patch_project_with_http_info(owner, project_name, body, **kwargs) # noqa: E501
|
4402
4388
|
|
4403
4389
|
@validate_call
|
4404
4390
|
def patch_project_with_http_info(
|
@@ -4406,7 +4392,7 @@ class ProjectsV1Api(BaseApi):
|
|
4406
4392
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4407
4393
|
project_name: Annotated[StrictStr, Field(..., description="Required name")],
|
4408
4394
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
4409
|
-
**kwargs
|
4395
|
+
**kwargs,
|
4410
4396
|
): # noqa: E501
|
4411
4397
|
"""Patch project # noqa: E501
|
4412
4398
|
|
@@ -4545,7 +4531,7 @@ class ProjectsV1Api(BaseApi):
|
|
4545
4531
|
body: Annotated[
|
4546
4532
|
V1ProjectSettings, Field(..., description="Project settings body")
|
4547
4533
|
],
|
4548
|
-
**kwargs
|
4534
|
+
**kwargs,
|
4549
4535
|
) -> V1ProjectSettings: # noqa: E501
|
4550
4536
|
"""Patch project settings # noqa: E501
|
4551
4537
|
|
@@ -4589,7 +4575,7 @@ class ProjectsV1Api(BaseApi):
|
|
4589
4575
|
body: Annotated[
|
4590
4576
|
V1ProjectSettings, Field(..., description="Project settings body")
|
4591
4577
|
],
|
4592
|
-
**kwargs
|
4578
|
+
**kwargs,
|
4593
4579
|
): # noqa: E501
|
4594
4580
|
"""Patch project settings # noqa: E501
|
4595
4581
|
|
@@ -4739,7 +4725,7 @@ class ProjectsV1Api(BaseApi):
|
|
4739
4725
|
body: Annotated[
|
4740
4726
|
V1ProjectVersion, Field(..., description="Project version body")
|
4741
4727
|
],
|
4742
|
-
**kwargs
|
4728
|
+
**kwargs,
|
4743
4729
|
) -> V1ProjectVersion: # noqa: E501
|
4744
4730
|
"""Patch version # noqa: E501
|
4745
4731
|
|
@@ -4798,7 +4784,7 @@ class ProjectsV1Api(BaseApi):
|
|
4798
4784
|
body: Annotated[
|
4799
4785
|
V1ProjectVersion, Field(..., description="Project version body")
|
4800
4786
|
],
|
4801
|
-
**kwargs
|
4787
|
+
**kwargs,
|
4802
4788
|
): # noqa: E501
|
4803
4789
|
"""Patch version # noqa: E501
|
4804
4790
|
|
@@ -4942,7 +4928,7 @@ class ProjectsV1Api(BaseApi):
|
|
4942
4928
|
self,
|
4943
4929
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4944
4930
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
4945
|
-
**kwargs
|
4931
|
+
**kwargs,
|
4946
4932
|
) -> None: # noqa: E501
|
4947
4933
|
"""Restore project # noqa: E501
|
4948
4934
|
|
@@ -4979,7 +4965,7 @@ class ProjectsV1Api(BaseApi):
|
|
4979
4965
|
self,
|
4980
4966
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4981
4967
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
4982
|
-
**kwargs
|
4968
|
+
**kwargs,
|
4983
4969
|
): # noqa: E501
|
4984
4970
|
"""Restore project # noqa: E501
|
4985
4971
|
|
@@ -5112,7 +5098,7 @@ class ProjectsV1Api(BaseApi):
|
|
5112
5098
|
body: Annotated[
|
5113
5099
|
V1ProjectVersion, Field(..., description="Project version body")
|
5114
5100
|
],
|
5115
|
-
**kwargs
|
5101
|
+
**kwargs,
|
5116
5102
|
) -> None: # noqa: E501
|
5117
5103
|
"""Transfer version # noqa: E501
|
5118
5104
|
|
@@ -5171,7 +5157,7 @@ class ProjectsV1Api(BaseApi):
|
|
5171
5157
|
body: Annotated[
|
5172
5158
|
V1ProjectVersion, Field(..., description="Project version body")
|
5173
5159
|
],
|
5174
|
-
**kwargs
|
5160
|
+
**kwargs,
|
5175
5161
|
): # noqa: E501
|
5176
5162
|
"""Transfer version # noqa: E501
|
5177
5163
|
|
@@ -5310,7 +5296,7 @@ class ProjectsV1Api(BaseApi):
|
|
5310
5296
|
self,
|
5311
5297
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5312
5298
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
5313
|
-
**kwargs
|
5299
|
+
**kwargs,
|
5314
5300
|
) -> None: # noqa: E501
|
5315
5301
|
"""Unbookmark project # noqa: E501
|
5316
5302
|
|
@@ -5340,16 +5326,14 @@ class ProjectsV1Api(BaseApi):
|
|
5340
5326
|
:rtype: None
|
5341
5327
|
"""
|
5342
5328
|
kwargs["_return_http_data_only"] = True
|
5343
|
-
return self.unbookmark_project_with_http_info(
|
5344
|
-
owner, name, **kwargs
|
5345
|
-
) # noqa: E501
|
5329
|
+
return self.unbookmark_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
5346
5330
|
|
5347
5331
|
@validate_call
|
5348
5332
|
def unbookmark_project_with_http_info(
|
5349
5333
|
self,
|
5350
5334
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5351
5335
|
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
5352
|
-
**kwargs
|
5336
|
+
**kwargs,
|
5353
5337
|
): # noqa: E501
|
5354
5338
|
"""Unbookmark project # noqa: E501
|
5355
5339
|
|
@@ -5469,7 +5453,7 @@ class ProjectsV1Api(BaseApi):
|
|
5469
5453
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5470
5454
|
project_name: Annotated[StrictStr, Field(..., description="Required name")],
|
5471
5455
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
5472
|
-
**kwargs
|
5456
|
+
**kwargs,
|
5473
5457
|
) -> V1Project: # noqa: E501
|
5474
5458
|
"""Update project # noqa: E501
|
5475
5459
|
|
@@ -5501,9 +5485,7 @@ class ProjectsV1Api(BaseApi):
|
|
5501
5485
|
:rtype: V1Project
|
5502
5486
|
"""
|
5503
5487
|
kwargs["_return_http_data_only"] = True
|
5504
|
-
return self.update_project_with_http_info(
|
5505
|
-
owner, project_name, body, **kwargs
|
5506
|
-
) # noqa: E501
|
5488
|
+
return self.update_project_with_http_info(owner, project_name, body, **kwargs) # noqa: E501
|
5507
5489
|
|
5508
5490
|
@validate_call
|
5509
5491
|
def update_project_with_http_info(
|
@@ -5511,7 +5493,7 @@ class ProjectsV1Api(BaseApi):
|
|
5511
5493
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5512
5494
|
project_name: Annotated[StrictStr, Field(..., description="Required name")],
|
5513
5495
|
body: Annotated[V1Project, Field(..., description="Project body")],
|
5514
|
-
**kwargs
|
5496
|
+
**kwargs,
|
5515
5497
|
): # noqa: E501
|
5516
5498
|
"""Update project # noqa: E501
|
5517
5499
|
|
@@ -5650,7 +5632,7 @@ class ProjectsV1Api(BaseApi):
|
|
5650
5632
|
body: Annotated[
|
5651
5633
|
V1ProjectSettings, Field(..., description="Project settings body")
|
5652
5634
|
],
|
5653
|
-
**kwargs
|
5635
|
+
**kwargs,
|
5654
5636
|
) -> V1ProjectSettings: # noqa: E501
|
5655
5637
|
"""Update project settings # noqa: E501
|
5656
5638
|
|
@@ -5694,7 +5676,7 @@ class ProjectsV1Api(BaseApi):
|
|
5694
5676
|
body: Annotated[
|
5695
5677
|
V1ProjectSettings, Field(..., description="Project settings body")
|
5696
5678
|
],
|
5697
|
-
**kwargs
|
5679
|
+
**kwargs,
|
5698
5680
|
): # noqa: E501
|
5699
5681
|
"""Update project settings # noqa: E501
|
5700
5682
|
|
@@ -5844,7 +5826,7 @@ class ProjectsV1Api(BaseApi):
|
|
5844
5826
|
body: Annotated[
|
5845
5827
|
V1ProjectVersion, Field(..., description="Project version body")
|
5846
5828
|
],
|
5847
|
-
**kwargs
|
5829
|
+
**kwargs,
|
5848
5830
|
) -> V1ProjectVersion: # noqa: E501
|
5849
5831
|
"""Update version # noqa: E501
|
5850
5832
|
|
@@ -5903,7 +5885,7 @@ class ProjectsV1Api(BaseApi):
|
|
5903
5885
|
body: Annotated[
|
5904
5886
|
V1ProjectVersion, Field(..., description="Project version body")
|
5905
5887
|
],
|
5906
|
-
**kwargs
|
5888
|
+
**kwargs,
|
5907
5889
|
): # noqa: E501
|
5908
5890
|
"""Update version # noqa: E501
|
5909
5891
|
|
@@ -6059,7 +6041,7 @@ class ProjectsV1Api(BaseApi):
|
|
6059
6041
|
overwrite: Annotated[
|
6060
6042
|
Optional[bool], Field(description="File path query params.")
|
6061
6043
|
] = None,
|
6062
|
-
**kwargs
|
6044
|
+
**kwargs,
|
6063
6045
|
) -> None: # noqa: E501
|
6064
6046
|
"""Upload artifact to a store via project access # noqa: E501
|
6065
6047
|
|
@@ -6118,7 +6100,7 @@ class ProjectsV1Api(BaseApi):
|
|
6118
6100
|
overwrite: Annotated[
|
6119
6101
|
Optional[bool], Field(description="File path query params.")
|
6120
6102
|
] = None,
|
6121
|
-
**kwargs
|
6103
|
+
**kwargs,
|
6122
6104
|
): # noqa: E501
|
6123
6105
|
"""Upload artifact to a store via project access # noqa: E501
|
6124
6106
|
|