polyaxon 2.1.0rc9__py3-none-any.whl → 2.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- polyaxon/_auxiliaries/default_scheduling.py +17 -7
- polyaxon/_auxiliaries/init.py +14 -6
- polyaxon/_auxiliaries/sidecar.py +10 -8
- polyaxon/_cli/artifacts.py +96 -11
- polyaxon/_cli/components.py +96 -11
- polyaxon/_cli/config.py +31 -0
- polyaxon/_cli/dashboard.py +12 -2
- polyaxon/_cli/init.py +1 -1
- polyaxon/_cli/models.py +96 -11
- polyaxon/_cli/operations.py +133 -58
- polyaxon/_cli/project_versions.py +139 -6
- polyaxon/_cli/projects.py +23 -9
- polyaxon/_cli/run.py +43 -9
- polyaxon/_cli/services/agent.py +2 -2
- polyaxon/_cli/version.py +4 -1
- polyaxon/_client/mixin.py +39 -0
- polyaxon/_client/project.py +218 -23
- polyaxon/_client/run.py +84 -27
- polyaxon/_compiler/contexts/contexts.py +4 -0
- polyaxon/_compiler/contexts/ray_job.py +4 -2
- polyaxon/_compiler/resolver/agent.py +22 -10
- polyaxon/_compiler/resolver/runtime.py +7 -3
- polyaxon/_constants/metadata.py +1 -0
- polyaxon/_contexts/keys.py +1 -0
- polyaxon/_contexts/paths.py +1 -1
- polyaxon/_deploy/operators/compose.py +1 -27
- polyaxon/_deploy/schemas/auth.py +3 -3
- polyaxon/_deploy/schemas/celery.py +10 -8
- polyaxon/_deploy/schemas/deployment.py +148 -115
- polyaxon/_deploy/schemas/email.py +8 -8
- polyaxon/_deploy/schemas/ingress.py +7 -7
- polyaxon/_deploy/schemas/intervals.py +2 -7
- polyaxon/_deploy/schemas/operators.py +8 -8
- polyaxon/_deploy/schemas/proxy.py +9 -8
- polyaxon/_deploy/schemas/rbac.py +1 -1
- polyaxon/_deploy/schemas/root_user.py +5 -5
- polyaxon/_deploy/schemas/security_context.py +25 -15
- polyaxon/_deploy/schemas/service.py +75 -66
- polyaxon/_deploy/schemas/ssl.py +3 -3
- polyaxon/_deploy/schemas/ui.py +10 -6
- polyaxon/_docker/builder/builder.py +4 -1
- polyaxon/_docker/converter/base/containers.py +4 -7
- polyaxon/_docker/converter/base/env_vars.py +5 -5
- polyaxon/_docker/converter/base/mounts.py +2 -2
- polyaxon/_docker/docker_types.py +57 -30
- polyaxon/_env_vars/getters/owner_entity.py +4 -2
- polyaxon/_env_vars/getters/project.py +4 -2
- polyaxon/_env_vars/getters/run.py +5 -2
- polyaxon/_env_vars/keys.py +3 -0
- polyaxon/_flow/__init__.py +3 -2
- polyaxon/_flow/builds/__init__.py +8 -8
- polyaxon/_flow/cache/__init__.py +4 -4
- polyaxon/_flow/component/base.py +25 -18
- polyaxon/_flow/component/component.py +4 -3
- polyaxon/_flow/early_stopping/__init__.py +1 -1
- polyaxon/_flow/early_stopping/policies.py +12 -10
- polyaxon/_flow/environment/__init__.py +43 -25
- polyaxon/_flow/events/__init__.py +1 -1
- polyaxon/_flow/hooks/__init__.py +11 -11
- polyaxon/_flow/init/__init__.py +41 -25
- polyaxon/_flow/io/io.py +57 -47
- polyaxon/_flow/joins/__init__.py +5 -5
- polyaxon/_flow/matrix/bayes.py +23 -17
- polyaxon/_flow/matrix/grid_search.py +16 -7
- polyaxon/_flow/matrix/hyperband.py +10 -10
- polyaxon/_flow/matrix/hyperopt.py +14 -9
- polyaxon/_flow/matrix/iterative.py +14 -8
- polyaxon/_flow/matrix/mapping.py +4 -4
- polyaxon/_flow/matrix/params.py +138 -77
- polyaxon/_flow/matrix/random_search.py +10 -5
- polyaxon/_flow/matrix/tuner.py +4 -4
- polyaxon/_flow/mounts/artifacts_mounts.py +1 -1
- polyaxon/_flow/notifications/__init__.py +1 -1
- polyaxon/_flow/operations/base.py +10 -8
- polyaxon/_flow/operations/compiled_operation.py +5 -4
- polyaxon/_flow/operations/operation.py +57 -41
- polyaxon/_flow/optimization/__init__.py +2 -2
- polyaxon/_flow/params/params.py +10 -9
- polyaxon/_flow/plugins/__init__.py +19 -13
- polyaxon/_flow/run/dag.py +12 -9
- polyaxon/_flow/run/dask/dask.py +4 -4
- polyaxon/_flow/run/dask/replica.py +17 -11
- polyaxon/_flow/run/job.py +17 -11
- polyaxon/_flow/run/kubeflow/mpi_job.py +10 -5
- polyaxon/_flow/run/kubeflow/mx_job.py +25 -9
- polyaxon/_flow/run/kubeflow/paddle_job.py +16 -9
- polyaxon/_flow/run/kubeflow/pytorch_job.py +24 -17
- polyaxon/_flow/run/kubeflow/replica.py +17 -11
- polyaxon/_flow/run/kubeflow/scheduling_policy.py +7 -5
- polyaxon/_flow/run/kubeflow/tf_job.py +15 -8
- polyaxon/_flow/run/kubeflow/xgboost_job.py +9 -4
- polyaxon/_flow/run/ray/ray.py +9 -6
- polyaxon/_flow/run/ray/replica.py +25 -16
- polyaxon/_flow/run/resources.py +14 -13
- polyaxon/_flow/run/service.py +4 -4
- polyaxon/_flow/schedules/cron.py +4 -4
- polyaxon/_flow/schedules/interval.py +4 -4
- polyaxon/_flow/templates/__init__.py +3 -3
- polyaxon/_flow/termination/__init__.py +3 -3
- polyaxon/_fs/async_manager.py +1 -1
- polyaxon/_fs/fs.py +1 -1
- polyaxon/_fs/watcher.py +26 -27
- polyaxon/_k8s/converter/base/base.py +2 -1
- 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/dask_job.py +3 -0
- polyaxon/_k8s/custom_resources/kubeflow/common.py +4 -1
- polyaxon/_k8s/custom_resources/ray_job.py +3 -0
- polyaxon/_k8s/custom_resources/setter.py +1 -1
- polyaxon/_k8s/executor/async_executor.py +2 -0
- polyaxon/_k8s/k8s_validation.py +1 -1
- polyaxon/_k8s/logging/async_monitor.py +82 -11
- polyaxon/_k8s/manager/async_manager.py +15 -0
- polyaxon/_k8s/manager/manager.py +16 -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 +66 -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 +42 -0
- polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
- polyaxon/_polyaxonfile/specs/libs/parser.py +1 -1
- polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
- polyaxon/_polyaxonfile/specs/operation.py +1 -1
- polyaxon/_polyaxonfile/specs/sections.py +8 -0
- polyaxon/_pql/manager.py +1 -1
- polyaxon/_runner/agent/async_agent.py +25 -11
- polyaxon/_runner/agent/base_agent.py +19 -10
- polyaxon/_runner/agent/sync_agent.py +24 -10
- polyaxon/_runner/converter/converter.py +12 -4
- polyaxon/_runner/executor.py +1 -1
- polyaxon/_schemas/agent.py +69 -37
- polyaxon/_schemas/authentication.py +4 -4
- polyaxon/_schemas/base.py +26 -2
- polyaxon/_schemas/checks.py +3 -3
- polyaxon/_schemas/cli.py +4 -6
- polyaxon/_schemas/client.py +20 -18
- polyaxon/_schemas/compatibility.py +4 -4
- polyaxon/_schemas/container_resources.py +1 -1
- polyaxon/_schemas/home.py +3 -3
- polyaxon/_schemas/installation.py +13 -9
- polyaxon/_schemas/lifecycle.py +23 -23
- polyaxon/_schemas/log_handler.py +2 -2
- polyaxon/_schemas/services.py +26 -14
- polyaxon/_schemas/types/artifacts.py +3 -3
- polyaxon/_schemas/types/dockerfile.py +14 -12
- polyaxon/_schemas/types/event.py +2 -2
- polyaxon/_schemas/types/file.py +3 -3
- polyaxon/_schemas/types/git.py +12 -4
- polyaxon/_schemas/types/tensorboard.py +14 -8
- polyaxon/_schemas/user.py +3 -3
- polyaxon/_schemas/version.py +2 -2
- polyaxon/_sdk/api/agents_v1_api.py +222 -43
- polyaxon/_sdk/api/artifacts_stores_v1_api.py +3 -3
- polyaxon/_sdk/api/auth_v1_api.py +13 -13
- polyaxon/_sdk/api/connections_v1_api.py +15 -15
- polyaxon/_sdk/api/dashboards_v1_api.py +15 -15
- polyaxon/_sdk/api/organizations_v1_api.py +85 -85
- polyaxon/_sdk/api/presets_v1_api.py +15 -15
- polyaxon/_sdk/api/project_dashboards_v1_api.py +29 -29
- polyaxon/_sdk/api/project_searches_v1_api.py +29 -29
- polyaxon/_sdk/api/projects_v1_api.py +284 -107
- polyaxon/_sdk/api/queues_v1_api.py +19 -19
- polyaxon/_sdk/api/runs_v1_api.py +313 -359
- polyaxon/_sdk/api/searches_v1_api.py +15 -15
- polyaxon/_sdk/api/service_accounts_v1_api.py +31 -31
- polyaxon/_sdk/api/tags_v1_api.py +17 -17
- polyaxon/_sdk/api/teams_v1_api.py +2854 -402
- polyaxon/_sdk/api/users_v1_api.py +254 -78
- polyaxon/_sdk/api/versions_v1_api.py +7 -7
- polyaxon/_sdk/async_client/api_client.py +4 -0
- polyaxon/_sdk/schemas/__init__.py +1 -1
- polyaxon/_sdk/schemas/v1_activity.py +8 -8
- polyaxon/_sdk/schemas/v1_agent.py +18 -16
- polyaxon/_sdk/schemas/v1_agent_state_response.py +4 -4
- polyaxon/_sdk/schemas/v1_agent_state_response_agent_state.py +10 -10
- polyaxon/_sdk/schemas/v1_agent_status_body_request.py +3 -3
- polyaxon/_sdk/schemas/v1_analytics_spec.py +4 -4
- polyaxon/_sdk/schemas/v1_artifact_tree.py +3 -3
- polyaxon/_sdk/schemas/v1_auth.py +1 -1
- polyaxon/_sdk/schemas/v1_cloning.py +3 -3
- polyaxon/_sdk/schemas/v1_connection_response.py +9 -9
- polyaxon/_sdk/schemas/v1_dashboard.py +9 -9
- polyaxon/_sdk/schemas/v1_dashboard_spec.py +5 -1
- polyaxon/_sdk/schemas/v1_entities_tags.py +2 -2
- polyaxon/_sdk/schemas/v1_entities_transfer.py +2 -2
- polyaxon/_sdk/schemas/v1_entity_notification_body.py +7 -7
- polyaxon/_sdk/schemas/v1_entity_stage_body_request.py +5 -5
- polyaxon/_sdk/schemas/v1_entity_status_body_request.py +5 -5
- polyaxon/_sdk/schemas/v1_events_response.py +2 -2
- polyaxon/_sdk/schemas/v1_list_activities_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_agents_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_bookmarks_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_connections_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_dashboards_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_organization_members_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_organizations_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_presets_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_project_versions_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_projects_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_queues_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_run_artifacts_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_run_connections_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_run_edges_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_runs_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_searches_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_service_accounts_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_tags_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_team_members_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_teams_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_token_response.py +4 -4
- polyaxon/_sdk/schemas/v1_operation_body.py +8 -8
- polyaxon/_sdk/schemas/v1_organization.py +16 -16
- polyaxon/_sdk/schemas/v1_organization_member.py +6 -6
- polyaxon/_sdk/schemas/v1_password_change.py +3 -3
- polyaxon/_sdk/schemas/v1_pipeline.py +3 -3
- polyaxon/_sdk/schemas/v1_preset.py +16 -9
- polyaxon/_sdk/schemas/v1_project.py +17 -17
- polyaxon/_sdk/schemas/v1_project_settings.py +12 -10
- polyaxon/_sdk/schemas/v1_project_version.py +20 -20
- polyaxon/_sdk/schemas/v1_queue.py +12 -12
- polyaxon/_sdk/schemas/v1_run.py +38 -38
- polyaxon/_sdk/schemas/v1_run_connection.py +3 -3
- polyaxon/_sdk/schemas/v1_run_edge.py +5 -5
- polyaxon/_sdk/schemas/v1_run_edge_lineage.py +3 -3
- polyaxon/_sdk/schemas/v1_run_edges_graph.py +1 -1
- polyaxon/_sdk/schemas/v1_run_reference_catalog.py +4 -4
- polyaxon/_sdk/schemas/v1_run_settings.py +9 -9
- polyaxon/_sdk/schemas/v1_search.py +10 -10
- polyaxon/_sdk/schemas/v1_search_spec.py +14 -14
- polyaxon/_sdk/schemas/v1_section_spec.py +12 -7
- polyaxon/_sdk/schemas/v1_service_account.py +9 -9
- polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -3
- polyaxon/_sdk/schemas/v1_tag.py +6 -6
- polyaxon/_sdk/schemas/v1_team.py +11 -8
- polyaxon/_sdk/schemas/v1_team_member.py +6 -6
- polyaxon/_sdk/schemas/v1_team_settings.py +2 -2
- polyaxon/_sdk/schemas/v1_token.py +10 -10
- polyaxon/_sdk/schemas/v1_trial_start.py +6 -6
- polyaxon/_sdk/schemas/v1_user.py +6 -7
- polyaxon/_sdk/schemas/v1_user_access.py +17 -0
- polyaxon/_sdk/schemas/v1_user_email.py +1 -1
- polyaxon/_sdk/schemas/v1_user_singup.py +5 -5
- polyaxon/_sdk/schemas/v1_uuids.py +1 -1
- polyaxon/_sidecar/container/__init__.py +39 -20
- polyaxon/_sidecar/container/monitors/logs.py +10 -13
- polyaxon/_sidecar/ignore.py +0 -1
- polyaxon/_utils/cli_constants.py +2 -0
- polyaxon/_utils/fqn_utils.py +25 -2
- polyaxon/_utils/test_utils.py +2 -1
- polyaxon/pkg.py +1 -1
- polyaxon/schemas.py +1 -1
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/METADATA +43 -43
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/RECORD +269 -252
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/WHEEL +1 -1
- polyaxon/_sdk/schemas/v1_project_user_access.py +0 -10
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/LICENSE +0 -0
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Annotated
|
3
3
|
|
4
|
-
from clipped.compact.pydantic import Field, StrictInt, StrictStr,
|
4
|
+
from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
|
5
5
|
|
6
6
|
from polyaxon._schemas.lifecycle import V1Stage
|
7
7
|
from polyaxon._sdk.base_api import BaseApi
|
@@ -19,11 +19,11 @@ from polyaxon.exceptions import ApiTypeError
|
|
19
19
|
|
20
20
|
|
21
21
|
class ProjectsV1Api(BaseApi):
|
22
|
-
@
|
22
|
+
@validate_call
|
23
23
|
def archive_project(
|
24
24
|
self,
|
25
25
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
26
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
26
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
27
27
|
**kwargs
|
28
28
|
) -> None:
|
29
29
|
"""Archive project
|
@@ -36,7 +36,7 @@ class ProjectsV1Api(BaseApi):
|
|
36
36
|
|
37
37
|
:param owner: Owner of the namespace (required)
|
38
38
|
:type owner: str
|
39
|
-
:param name: Component under
|
39
|
+
:param name: Component under namespace (required)
|
40
40
|
:type name: str
|
41
41
|
:param async_req: Whether to execute the request asynchronously.
|
42
42
|
:type async_req: bool, optional
|
@@ -56,11 +56,11 @@ class ProjectsV1Api(BaseApi):
|
|
56
56
|
kwargs["_return_http_data_only"] = True
|
57
57
|
return self.archive_project_with_http_info(owner, name, **kwargs)
|
58
58
|
|
59
|
-
@
|
59
|
+
@validate_call
|
60
60
|
def archive_project_with_http_info(
|
61
61
|
self,
|
62
62
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
63
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
63
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
64
64
|
**kwargs
|
65
65
|
):
|
66
66
|
"""Archive project
|
@@ -73,7 +73,7 @@ class ProjectsV1Api(BaseApi):
|
|
73
73
|
|
74
74
|
:param owner: Owner of the namespace (required)
|
75
75
|
:type owner: str
|
76
|
-
:param name: Component under
|
76
|
+
:param name: Component under namespace (required)
|
77
77
|
:type name: str
|
78
78
|
:param async_req: Whether to execute the request asynchronously.
|
79
79
|
:type async_req: bool, optional
|
@@ -175,11 +175,11 @@ class ProjectsV1Api(BaseApi):
|
|
175
175
|
_request_auth=_params.get("_request_auth"),
|
176
176
|
)
|
177
177
|
|
178
|
-
@
|
178
|
+
@validate_call
|
179
179
|
def bookmark_project(
|
180
180
|
self,
|
181
181
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
182
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
182
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
183
183
|
**kwargs
|
184
184
|
) -> None: # noqa: E501
|
185
185
|
"""Bookmark project # noqa: E501
|
@@ -192,7 +192,7 @@ class ProjectsV1Api(BaseApi):
|
|
192
192
|
|
193
193
|
:param owner: Owner of the namespace (required)
|
194
194
|
:type owner: str
|
195
|
-
:param name: Component under
|
195
|
+
:param name: Component under namespace (required)
|
196
196
|
:type name: str
|
197
197
|
:param async_req: Whether to execute the request asynchronously.
|
198
198
|
:type async_req: bool, optional
|
@@ -212,11 +212,11 @@ class ProjectsV1Api(BaseApi):
|
|
212
212
|
kwargs["_return_http_data_only"] = True
|
213
213
|
return self.bookmark_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
214
214
|
|
215
|
-
@
|
215
|
+
@validate_call
|
216
216
|
def bookmark_project_with_http_info(
|
217
217
|
self,
|
218
218
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
219
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
219
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
220
220
|
**kwargs
|
221
221
|
): # noqa: E501
|
222
222
|
"""Bookmark project # noqa: E501
|
@@ -229,7 +229,7 @@ class ProjectsV1Api(BaseApi):
|
|
229
229
|
|
230
230
|
:param owner: Owner of the namespace (required)
|
231
231
|
:type owner: str
|
232
|
-
:param name: Component under
|
232
|
+
:param name: Component under namespace (required)
|
233
233
|
:type name: str
|
234
234
|
:param async_req: Whether to execute the request asynchronously.
|
235
235
|
:type async_req: bool, optional
|
@@ -331,7 +331,7 @@ class ProjectsV1Api(BaseApi):
|
|
331
331
|
_request_auth=_params.get("_request_auth"),
|
332
332
|
)
|
333
333
|
|
334
|
-
@
|
334
|
+
@validate_call
|
335
335
|
def create_project(
|
336
336
|
self,
|
337
337
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -368,7 +368,7 @@ class ProjectsV1Api(BaseApi):
|
|
368
368
|
kwargs["_return_http_data_only"] = True
|
369
369
|
return self.create_project_with_http_info(owner, body, **kwargs) # noqa: E501
|
370
370
|
|
371
|
-
@
|
371
|
+
@validate_call
|
372
372
|
def create_project_with_http_info(
|
373
373
|
self,
|
374
374
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -500,7 +500,184 @@ class ProjectsV1Api(BaseApi):
|
|
500
500
|
_request_auth=_params.get("_request_auth"),
|
501
501
|
)
|
502
502
|
|
503
|
-
@
|
503
|
+
@validate_call
|
504
|
+
def create_team_project(
|
505
|
+
self,
|
506
|
+
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
507
|
+
team: Annotated[StrictStr, Field(..., description="Team")],
|
508
|
+
body: Annotated[V1Project, Field(..., description="Project body")],
|
509
|
+
**kwargs
|
510
|
+
) -> V1Project: # noqa: E501
|
511
|
+
"""Create new project via team space # noqa: E501
|
512
|
+
|
513
|
+
This method makes a synchronous HTTP request by default. To make an
|
514
|
+
asynchronous HTTP request, please pass async_req=True
|
515
|
+
|
516
|
+
>>> thread = api.create_team_project(owner, team, body, async_req=True)
|
517
|
+
>>> result = thread.get()
|
518
|
+
|
519
|
+
:param owner: Owner of the namespace (required)
|
520
|
+
:type owner: str
|
521
|
+
:param team: Team (required)
|
522
|
+
:type team: str
|
523
|
+
:param body: Project body (required)
|
524
|
+
:type body: V1Project
|
525
|
+
:param async_req: Whether to execute the request asynchronously.
|
526
|
+
:type async_req: bool, optional
|
527
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
528
|
+
be returned without reading/decoding response
|
529
|
+
data. Default is True.
|
530
|
+
:type _preload_content: bool, optional
|
531
|
+
:param _request_timeout: timeout setting for this request. If one
|
532
|
+
number provided, it will be total request
|
533
|
+
timeout. It can also be a pair (tuple) of
|
534
|
+
(connection, read) timeouts.
|
535
|
+
:return: Returns the result object.
|
536
|
+
If the method is called asynchronously,
|
537
|
+
returns the request thread.
|
538
|
+
:rtype: V1Project
|
539
|
+
"""
|
540
|
+
kwargs["_return_http_data_only"] = True
|
541
|
+
return self.create_team_project_with_http_info(
|
542
|
+
owner, team, body, **kwargs
|
543
|
+
) # noqa: E501
|
544
|
+
|
545
|
+
@validate_call
|
546
|
+
def create_team_project_with_http_info(
|
547
|
+
self,
|
548
|
+
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
549
|
+
team: Annotated[StrictStr, Field(..., description="Team")],
|
550
|
+
body: Annotated[V1Project, Field(..., description="Project body")],
|
551
|
+
**kwargs
|
552
|
+
): # noqa: E501
|
553
|
+
"""Create new project via team space # noqa: E501
|
554
|
+
|
555
|
+
This method makes a synchronous HTTP request by default. To make an
|
556
|
+
asynchronous HTTP request, please pass async_req=True
|
557
|
+
|
558
|
+
>>> thread = api.create_team_project_with_http_info(owner, team, body, async_req=True)
|
559
|
+
>>> result = thread.get()
|
560
|
+
|
561
|
+
:param owner: Owner of the namespace (required)
|
562
|
+
:type owner: str
|
563
|
+
:param team: Team (required)
|
564
|
+
:type team: str
|
565
|
+
:param body: Project body (required)
|
566
|
+
:type body: V1Project
|
567
|
+
:param async_req: Whether to execute the request asynchronously.
|
568
|
+
:type async_req: bool, optional
|
569
|
+
:param _return_http_data_only: response data without head status code
|
570
|
+
and headers
|
571
|
+
:type _return_http_data_only: bool, optional
|
572
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
573
|
+
be returned without reading/decoding response
|
574
|
+
data. Default is True.
|
575
|
+
:type _preload_content: bool, optional
|
576
|
+
:param _request_timeout: timeout setting for this request. If one
|
577
|
+
number provided, it will be total request
|
578
|
+
timeout. It can also be a pair (tuple) of
|
579
|
+
(connection, read) timeouts.
|
580
|
+
:param _request_auth: set to override the auth_settings for an a single
|
581
|
+
request; this effectively ignores the authentication
|
582
|
+
in the spec for a single request.
|
583
|
+
:type _request_auth: dict, optional
|
584
|
+
:type _content_type: string, optional: force content-type for the request
|
585
|
+
:return: Returns the result object.
|
586
|
+
If the method is called asynchronously,
|
587
|
+
returns the request thread.
|
588
|
+
:rtype: tuple(V1Project, status_code(int), headers(HTTPHeaderDict))
|
589
|
+
"""
|
590
|
+
|
591
|
+
_params = locals()
|
592
|
+
|
593
|
+
_all_params = ["owner", "team", "body"]
|
594
|
+
_all_params.extend(
|
595
|
+
[
|
596
|
+
"async_req",
|
597
|
+
"_return_http_data_only",
|
598
|
+
"_preload_content",
|
599
|
+
"_request_timeout",
|
600
|
+
"_request_auth",
|
601
|
+
"_content_type",
|
602
|
+
"_headers",
|
603
|
+
]
|
604
|
+
)
|
605
|
+
|
606
|
+
# validate the arguments
|
607
|
+
for _key, _val in _params["kwargs"].items():
|
608
|
+
if _key not in _all_params:
|
609
|
+
raise ApiTypeError(
|
610
|
+
"Got an unexpected keyword argument '%s'"
|
611
|
+
" to method create_team_project" % _key
|
612
|
+
)
|
613
|
+
_params[_key] = _val
|
614
|
+
del _params["kwargs"]
|
615
|
+
|
616
|
+
_collection_formats = {}
|
617
|
+
|
618
|
+
# process the path parameters
|
619
|
+
_path_params = {}
|
620
|
+
if _params["owner"]:
|
621
|
+
_path_params["owner"] = _params["owner"]
|
622
|
+
|
623
|
+
if _params["team"]:
|
624
|
+
_path_params["team"] = _params["team"]
|
625
|
+
|
626
|
+
# process the query parameters
|
627
|
+
_query_params = []
|
628
|
+
# process the header parameters
|
629
|
+
_header_params = dict(_params.get("_headers", {}))
|
630
|
+
# process the form parameters
|
631
|
+
_form_params = []
|
632
|
+
_files = {}
|
633
|
+
# process the body parameter
|
634
|
+
_body_params = None
|
635
|
+
if _params["body"]:
|
636
|
+
_body_params = _params["body"]
|
637
|
+
|
638
|
+
# set the HTTP header `Accept`
|
639
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
640
|
+
["application/json"]
|
641
|
+
) # noqa: E501
|
642
|
+
|
643
|
+
# set the HTTP header `Content-Type`
|
644
|
+
_content_types_list = _params.get(
|
645
|
+
"_content_type",
|
646
|
+
self.api_client.select_header_content_type(["application/json"]),
|
647
|
+
)
|
648
|
+
if _content_types_list:
|
649
|
+
_header_params["Content-Type"] = _content_types_list
|
650
|
+
|
651
|
+
# authentication setting
|
652
|
+
_auth_settings = ["ApiKey"] # noqa: E501
|
653
|
+
|
654
|
+
_response_types_map = {
|
655
|
+
"200": "V1Project",
|
656
|
+
"204": "object",
|
657
|
+
"403": "object",
|
658
|
+
"404": "object",
|
659
|
+
}
|
660
|
+
|
661
|
+
return self.api_client.call_api(
|
662
|
+
"/api/v1/{owner}/{team}/projects/create",
|
663
|
+
"POST",
|
664
|
+
_path_params,
|
665
|
+
_query_params,
|
666
|
+
_header_params,
|
667
|
+
body=_body_params,
|
668
|
+
post_params=_form_params,
|
669
|
+
files=_files,
|
670
|
+
response_types_map=_response_types_map,
|
671
|
+
auth_settings=_auth_settings,
|
672
|
+
async_req=_params.get("async_req"),
|
673
|
+
_return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
|
674
|
+
_preload_content=_params.get("_preload_content", True),
|
675
|
+
_request_timeout=_params.get("_request_timeout"),
|
676
|
+
collection_formats=_collection_formats,
|
677
|
+
_request_auth=_params.get("_request_auth"),
|
678
|
+
)
|
679
|
+
|
680
|
+
@validate_call
|
504
681
|
def create_version(
|
505
682
|
self,
|
506
683
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -550,7 +727,7 @@ class ProjectsV1Api(BaseApi):
|
|
550
727
|
owner, project, version_kind, body, **kwargs
|
551
728
|
) # noqa: E501
|
552
729
|
|
553
|
-
@
|
730
|
+
@validate_call
|
554
731
|
def create_version_with_http_info(
|
555
732
|
self,
|
556
733
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -697,7 +874,7 @@ class ProjectsV1Api(BaseApi):
|
|
697
874
|
_request_auth=_params.get("_request_auth"),
|
698
875
|
)
|
699
876
|
|
700
|
-
@
|
877
|
+
@validate_call
|
701
878
|
def create_version_stage(
|
702
879
|
self,
|
703
880
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -753,7 +930,7 @@ class ProjectsV1Api(BaseApi):
|
|
753
930
|
owner, entity, kind, name, body, **kwargs
|
754
931
|
) # noqa: E501
|
755
932
|
|
756
|
-
@
|
933
|
+
@validate_call
|
757
934
|
def create_version_stage_with_http_info(
|
758
935
|
self,
|
759
936
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -908,11 +1085,11 @@ class ProjectsV1Api(BaseApi):
|
|
908
1085
|
_request_auth=_params.get("_request_auth"),
|
909
1086
|
)
|
910
1087
|
|
911
|
-
@
|
1088
|
+
@validate_call
|
912
1089
|
def delete_project(
|
913
1090
|
self,
|
914
1091
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
915
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1092
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
916
1093
|
**kwargs
|
917
1094
|
) -> None: # noqa: E501
|
918
1095
|
"""Delete project # noqa: E501
|
@@ -925,7 +1102,7 @@ class ProjectsV1Api(BaseApi):
|
|
925
1102
|
|
926
1103
|
:param owner: Owner of the namespace (required)
|
927
1104
|
:type owner: str
|
928
|
-
:param name: Component under
|
1105
|
+
:param name: Component under namespace (required)
|
929
1106
|
:type name: str
|
930
1107
|
:param async_req: Whether to execute the request asynchronously.
|
931
1108
|
:type async_req: bool, optional
|
@@ -945,11 +1122,11 @@ class ProjectsV1Api(BaseApi):
|
|
945
1122
|
kwargs["_return_http_data_only"] = True
|
946
1123
|
return self.delete_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
947
1124
|
|
948
|
-
@
|
1125
|
+
@validate_call
|
949
1126
|
def delete_project_with_http_info(
|
950
1127
|
self,
|
951
1128
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
952
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1129
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
953
1130
|
**kwargs
|
954
1131
|
): # noqa: E501
|
955
1132
|
"""Delete project # noqa: E501
|
@@ -962,7 +1139,7 @@ class ProjectsV1Api(BaseApi):
|
|
962
1139
|
|
963
1140
|
:param owner: Owner of the namespace (required)
|
964
1141
|
:type owner: str
|
965
|
-
:param name: Component under
|
1142
|
+
:param name: Component under namespace (required)
|
966
1143
|
:type name: str
|
967
1144
|
:param async_req: Whether to execute the request asynchronously.
|
968
1145
|
:type async_req: bool, optional
|
@@ -1064,7 +1241,7 @@ class ProjectsV1Api(BaseApi):
|
|
1064
1241
|
_request_auth=_params.get("_request_auth"),
|
1065
1242
|
)
|
1066
1243
|
|
1067
|
-
@
|
1244
|
+
@validate_call
|
1068
1245
|
def delete_version(
|
1069
1246
|
self,
|
1070
1247
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1114,7 +1291,7 @@ class ProjectsV1Api(BaseApi):
|
|
1114
1291
|
owner, entity, kind, name, **kwargs
|
1115
1292
|
) # noqa: E501
|
1116
1293
|
|
1117
|
-
@
|
1294
|
+
@validate_call
|
1118
1295
|
def delete_version_with_http_info(
|
1119
1296
|
self,
|
1120
1297
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1248,11 +1425,11 @@ class ProjectsV1Api(BaseApi):
|
|
1248
1425
|
_request_auth=_params.get("_request_auth"),
|
1249
1426
|
)
|
1250
1427
|
|
1251
|
-
@
|
1428
|
+
@validate_call
|
1252
1429
|
def disable_project_ci(
|
1253
1430
|
self,
|
1254
1431
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1255
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1432
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1256
1433
|
**kwargs
|
1257
1434
|
) -> None: # noqa: E501
|
1258
1435
|
"""Disbale project CI # noqa: E501
|
@@ -1265,7 +1442,7 @@ class ProjectsV1Api(BaseApi):
|
|
1265
1442
|
|
1266
1443
|
:param owner: Owner of the namespace (required)
|
1267
1444
|
:type owner: str
|
1268
|
-
:param name: Component under
|
1445
|
+
:param name: Component under namespace (required)
|
1269
1446
|
:type name: str
|
1270
1447
|
:param async_req: Whether to execute the request asynchronously.
|
1271
1448
|
:type async_req: bool, optional
|
@@ -1287,11 +1464,11 @@ class ProjectsV1Api(BaseApi):
|
|
1287
1464
|
owner, name, **kwargs
|
1288
1465
|
) # noqa: E501
|
1289
1466
|
|
1290
|
-
@
|
1467
|
+
@validate_call
|
1291
1468
|
def disable_project_ci_with_http_info(
|
1292
1469
|
self,
|
1293
1470
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1294
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1471
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1295
1472
|
**kwargs
|
1296
1473
|
): # noqa: E501
|
1297
1474
|
"""Disbale project CI # noqa: E501
|
@@ -1304,7 +1481,7 @@ class ProjectsV1Api(BaseApi):
|
|
1304
1481
|
|
1305
1482
|
:param owner: Owner of the namespace (required)
|
1306
1483
|
:type owner: str
|
1307
|
-
:param name: Component under
|
1484
|
+
:param name: Component under namespace (required)
|
1308
1485
|
:type name: str
|
1309
1486
|
:param async_req: Whether to execute the request asynchronously.
|
1310
1487
|
:type async_req: bool, optional
|
@@ -1406,11 +1583,11 @@ class ProjectsV1Api(BaseApi):
|
|
1406
1583
|
_request_auth=_params.get("_request_auth"),
|
1407
1584
|
)
|
1408
1585
|
|
1409
|
-
@
|
1586
|
+
@validate_call
|
1410
1587
|
def enable_project_ci(
|
1411
1588
|
self,
|
1412
1589
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1413
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1590
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1414
1591
|
**kwargs
|
1415
1592
|
) -> None: # noqa: E501
|
1416
1593
|
"""Enable project CI # noqa: E501
|
@@ -1423,7 +1600,7 @@ class ProjectsV1Api(BaseApi):
|
|
1423
1600
|
|
1424
1601
|
:param owner: Owner of the namespace (required)
|
1425
1602
|
:type owner: str
|
1426
|
-
:param name: Component under
|
1603
|
+
:param name: Component under namespace (required)
|
1427
1604
|
:type name: str
|
1428
1605
|
:param async_req: Whether to execute the request asynchronously.
|
1429
1606
|
:type async_req: bool, optional
|
@@ -1445,11 +1622,11 @@ class ProjectsV1Api(BaseApi):
|
|
1445
1622
|
owner, name, **kwargs
|
1446
1623
|
) # noqa: E501
|
1447
1624
|
|
1448
|
-
@
|
1625
|
+
@validate_call
|
1449
1626
|
def enable_project_ci_with_http_info(
|
1450
1627
|
self,
|
1451
1628
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1452
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1629
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1453
1630
|
**kwargs
|
1454
1631
|
): # noqa: E501
|
1455
1632
|
"""Enable project CI # noqa: E501
|
@@ -1462,7 +1639,7 @@ class ProjectsV1Api(BaseApi):
|
|
1462
1639
|
|
1463
1640
|
:param owner: Owner of the namespace (required)
|
1464
1641
|
:type owner: str
|
1465
|
-
:param name: Component under
|
1642
|
+
:param name: Component under namespace (required)
|
1466
1643
|
:type name: str
|
1467
1644
|
:param async_req: Whether to execute the request asynchronously.
|
1468
1645
|
:type async_req: bool, optional
|
@@ -1564,11 +1741,11 @@ class ProjectsV1Api(BaseApi):
|
|
1564
1741
|
_request_auth=_params.get("_request_auth"),
|
1565
1742
|
)
|
1566
1743
|
|
1567
|
-
@
|
1744
|
+
@validate_call
|
1568
1745
|
def get_project(
|
1569
1746
|
self,
|
1570
1747
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1571
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1748
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1572
1749
|
**kwargs
|
1573
1750
|
) -> V1Project: # noqa: E501
|
1574
1751
|
"""Get project # noqa: E501
|
@@ -1581,7 +1758,7 @@ class ProjectsV1Api(BaseApi):
|
|
1581
1758
|
|
1582
1759
|
:param owner: Owner of the namespace (required)
|
1583
1760
|
:type owner: str
|
1584
|
-
:param name: Component under
|
1761
|
+
:param name: Component under namespace (required)
|
1585
1762
|
:type name: str
|
1586
1763
|
:param async_req: Whether to execute the request asynchronously.
|
1587
1764
|
:type async_req: bool, optional
|
@@ -1601,11 +1778,11 @@ class ProjectsV1Api(BaseApi):
|
|
1601
1778
|
kwargs["_return_http_data_only"] = True
|
1602
1779
|
return self.get_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
1603
1780
|
|
1604
|
-
@
|
1781
|
+
@validate_call
|
1605
1782
|
def get_project_with_http_info(
|
1606
1783
|
self,
|
1607
1784
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1608
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
1785
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1609
1786
|
**kwargs
|
1610
1787
|
): # noqa: E501
|
1611
1788
|
"""Get project # noqa: E501
|
@@ -1618,7 +1795,7 @@ class ProjectsV1Api(BaseApi):
|
|
1618
1795
|
|
1619
1796
|
:param owner: Owner of the namespace (required)
|
1620
1797
|
:type owner: str
|
1621
|
-
:param name: Component under
|
1798
|
+
:param name: Component under namespace (required)
|
1622
1799
|
:type name: str
|
1623
1800
|
:param async_req: Whether to execute the request asynchronously.
|
1624
1801
|
:type async_req: bool, optional
|
@@ -1725,7 +1902,7 @@ class ProjectsV1Api(BaseApi):
|
|
1725
1902
|
_request_auth=_params.get("_request_auth"),
|
1726
1903
|
)
|
1727
1904
|
|
1728
|
-
@
|
1905
|
+
@validate_call
|
1729
1906
|
def get_project_activities(
|
1730
1907
|
self,
|
1731
1908
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1797,7 +1974,7 @@ class ProjectsV1Api(BaseApi):
|
|
1797
1974
|
owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1798
1975
|
) # noqa: E501
|
1799
1976
|
|
1800
|
-
@
|
1977
|
+
@validate_call
|
1801
1978
|
def get_project_activities_with_http_info(
|
1802
1979
|
self,
|
1803
1980
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1978,11 +2155,11 @@ class ProjectsV1Api(BaseApi):
|
|
1978
2155
|
_request_auth=_params.get("_request_auth"),
|
1979
2156
|
)
|
1980
2157
|
|
1981
|
-
@
|
2158
|
+
@validate_call
|
1982
2159
|
def get_project_settings(
|
1983
2160
|
self,
|
1984
2161
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1985
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
2162
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
1986
2163
|
**kwargs
|
1987
2164
|
) -> V1ProjectSettings: # noqa: E501
|
1988
2165
|
"""Get Project settings # noqa: E501
|
@@ -1995,7 +2172,7 @@ class ProjectsV1Api(BaseApi):
|
|
1995
2172
|
|
1996
2173
|
:param owner: Owner of the namespace (required)
|
1997
2174
|
:type owner: str
|
1998
|
-
:param name: Component under
|
2175
|
+
:param name: Component under namespace (required)
|
1999
2176
|
:type name: str
|
2000
2177
|
:param async_req: Whether to execute the request asynchronously.
|
2001
2178
|
:type async_req: bool, optional
|
@@ -2017,11 +2194,11 @@ class ProjectsV1Api(BaseApi):
|
|
2017
2194
|
owner, name, **kwargs
|
2018
2195
|
) # noqa: E501
|
2019
2196
|
|
2020
|
-
@
|
2197
|
+
@validate_call
|
2021
2198
|
def get_project_settings_with_http_info(
|
2022
2199
|
self,
|
2023
2200
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2024
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
2201
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
2025
2202
|
**kwargs
|
2026
2203
|
): # noqa: E501
|
2027
2204
|
"""Get Project settings # noqa: E501
|
@@ -2034,7 +2211,7 @@ class ProjectsV1Api(BaseApi):
|
|
2034
2211
|
|
2035
2212
|
:param owner: Owner of the namespace (required)
|
2036
2213
|
:type owner: str
|
2037
|
-
:param name: Component under
|
2214
|
+
:param name: Component under namespace (required)
|
2038
2215
|
:type name: str
|
2039
2216
|
:param async_req: Whether to execute the request asynchronously.
|
2040
2217
|
:type async_req: bool, optional
|
@@ -2141,7 +2318,7 @@ class ProjectsV1Api(BaseApi):
|
|
2141
2318
|
_request_auth=_params.get("_request_auth"),
|
2142
2319
|
)
|
2143
2320
|
|
2144
|
-
@
|
2321
|
+
@validate_call
|
2145
2322
|
def get_project_stats(
|
2146
2323
|
self,
|
2147
2324
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2236,7 +2413,7 @@ class ProjectsV1Api(BaseApi):
|
|
2236
2413
|
**kwargs
|
2237
2414
|
) # noqa: E501
|
2238
2415
|
|
2239
|
-
@
|
2416
|
+
@validate_call
|
2240
2417
|
def get_project_stats_with_http_info(
|
2241
2418
|
self,
|
2242
2419
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2437,7 +2614,7 @@ class ProjectsV1Api(BaseApi):
|
|
2437
2614
|
_request_auth=_params.get("_request_auth"),
|
2438
2615
|
)
|
2439
2616
|
|
2440
|
-
@
|
2617
|
+
@validate_call
|
2441
2618
|
def get_version(
|
2442
2619
|
self,
|
2443
2620
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2487,7 +2664,7 @@ class ProjectsV1Api(BaseApi):
|
|
2487
2664
|
owner, entity, kind, name, **kwargs
|
2488
2665
|
) # noqa: E501
|
2489
2666
|
|
2490
|
-
@
|
2667
|
+
@validate_call
|
2491
2668
|
def get_version_with_http_info(
|
2492
2669
|
self,
|
2493
2670
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2626,7 +2803,7 @@ class ProjectsV1Api(BaseApi):
|
|
2626
2803
|
_request_auth=_params.get("_request_auth"),
|
2627
2804
|
)
|
2628
2805
|
|
2629
|
-
@
|
2806
|
+
@validate_call
|
2630
2807
|
def get_version_stages(
|
2631
2808
|
self,
|
2632
2809
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2676,7 +2853,7 @@ class ProjectsV1Api(BaseApi):
|
|
2676
2853
|
owner, entity, kind, name, **kwargs
|
2677
2854
|
) # noqa: E501
|
2678
2855
|
|
2679
|
-
@
|
2856
|
+
@validate_call
|
2680
2857
|
def get_version_stages_with_http_info(
|
2681
2858
|
self,
|
2682
2859
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2815,7 +2992,7 @@ class ProjectsV1Api(BaseApi):
|
|
2815
2992
|
_request_auth=_params.get("_request_auth"),
|
2816
2993
|
)
|
2817
2994
|
|
2818
|
-
@
|
2995
|
+
@validate_call
|
2819
2996
|
def list_archived_projects(
|
2820
2997
|
self,
|
2821
2998
|
user: Annotated[StrictStr, Field(..., description="User")],
|
@@ -2872,7 +3049,7 @@ class ProjectsV1Api(BaseApi):
|
|
2872
3049
|
user, offset, limit, sort, query, no_page, **kwargs
|
2873
3050
|
) # noqa: E501
|
2874
3051
|
|
2875
|
-
@
|
3052
|
+
@validate_call
|
2876
3053
|
def list_archived_projects_with_http_info(
|
2877
3054
|
self,
|
2878
3055
|
user: Annotated[StrictStr, Field(..., description="User")],
|
@@ -3022,7 +3199,7 @@ class ProjectsV1Api(BaseApi):
|
|
3022
3199
|
_request_auth=_params.get("_request_auth"),
|
3023
3200
|
)
|
3024
3201
|
|
3025
|
-
@
|
3202
|
+
@validate_call
|
3026
3203
|
def list_bookmarked_projects(
|
3027
3204
|
self,
|
3028
3205
|
user: Annotated[StrictStr, Field(..., description="User")],
|
@@ -3079,7 +3256,7 @@ class ProjectsV1Api(BaseApi):
|
|
3079
3256
|
user, offset, limit, sort, query, no_page, **kwargs
|
3080
3257
|
) # noqa: E501
|
3081
3258
|
|
3082
|
-
@
|
3259
|
+
@validate_call
|
3083
3260
|
def list_bookmarked_projects_with_http_info(
|
3084
3261
|
self,
|
3085
3262
|
user: Annotated[StrictStr, Field(..., description="User")],
|
@@ -3229,7 +3406,7 @@ class ProjectsV1Api(BaseApi):
|
|
3229
3406
|
_request_auth=_params.get("_request_auth"),
|
3230
3407
|
)
|
3231
3408
|
|
3232
|
-
@
|
3409
|
+
@validate_call
|
3233
3410
|
def list_project_names(
|
3234
3411
|
self,
|
3235
3412
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3296,7 +3473,7 @@ class ProjectsV1Api(BaseApi):
|
|
3296
3473
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
3297
3474
|
) # noqa: E501
|
3298
3475
|
|
3299
|
-
@
|
3476
|
+
@validate_call
|
3300
3477
|
def list_project_names_with_http_info(
|
3301
3478
|
self,
|
3302
3479
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3469,7 +3646,7 @@ class ProjectsV1Api(BaseApi):
|
|
3469
3646
|
_request_auth=_params.get("_request_auth"),
|
3470
3647
|
)
|
3471
3648
|
|
3472
|
-
@
|
3649
|
+
@validate_call
|
3473
3650
|
def list_projects(
|
3474
3651
|
self,
|
3475
3652
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3536,7 +3713,7 @@ class ProjectsV1Api(BaseApi):
|
|
3536
3713
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
3537
3714
|
) # noqa: E501
|
3538
3715
|
|
3539
|
-
@
|
3716
|
+
@validate_call
|
3540
3717
|
def list_projects_with_http_info(
|
3541
3718
|
self,
|
3542
3719
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3709,12 +3886,12 @@ class ProjectsV1Api(BaseApi):
|
|
3709
3886
|
_request_auth=_params.get("_request_auth"),
|
3710
3887
|
)
|
3711
3888
|
|
3712
|
-
@
|
3889
|
+
@validate_call
|
3713
3890
|
def list_version_names(
|
3714
3891
|
self,
|
3715
3892
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3716
3893
|
entity: Annotated[
|
3717
|
-
StrictStr, Field(..., description="Entity name under
|
3894
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
3718
3895
|
],
|
3719
3896
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
3720
3897
|
offset: Annotated[
|
@@ -3740,7 +3917,7 @@ class ProjectsV1Api(BaseApi):
|
|
3740
3917
|
|
3741
3918
|
:param owner: Owner of the namespace (required)
|
3742
3919
|
:type owner: str
|
3743
|
-
:param entity: Entity name under
|
3920
|
+
:param entity: Entity name under namespace (required)
|
3744
3921
|
:type entity: str
|
3745
3922
|
:param kind: Version Kind (required)
|
3746
3923
|
:type kind: str
|
@@ -3774,12 +3951,12 @@ class ProjectsV1Api(BaseApi):
|
|
3774
3951
|
owner, entity, kind, offset, limit, sort, query, no_page, **kwargs
|
3775
3952
|
) # noqa: E501
|
3776
3953
|
|
3777
|
-
@
|
3954
|
+
@validate_call
|
3778
3955
|
def list_version_names_with_http_info(
|
3779
3956
|
self,
|
3780
3957
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3781
3958
|
entity: Annotated[
|
3782
|
-
StrictStr, Field(..., description="Entity name under
|
3959
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
3783
3960
|
],
|
3784
3961
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
3785
3962
|
offset: Annotated[
|
@@ -3805,7 +3982,7 @@ class ProjectsV1Api(BaseApi):
|
|
3805
3982
|
|
3806
3983
|
:param owner: Owner of the namespace (required)
|
3807
3984
|
:type owner: str
|
3808
|
-
:param entity: Entity name under
|
3985
|
+
:param entity: Entity name under namespace (required)
|
3809
3986
|
:type entity: str
|
3810
3987
|
:param kind: Version Kind (required)
|
3811
3988
|
:type kind: str
|
@@ -3945,12 +4122,12 @@ class ProjectsV1Api(BaseApi):
|
|
3945
4122
|
_request_auth=_params.get("_request_auth"),
|
3946
4123
|
)
|
3947
4124
|
|
3948
|
-
@
|
4125
|
+
@validate_call
|
3949
4126
|
def list_versions(
|
3950
4127
|
self,
|
3951
4128
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3952
4129
|
entity: Annotated[
|
3953
|
-
StrictStr, Field(..., description="Entity name under
|
4130
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
3954
4131
|
],
|
3955
4132
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
3956
4133
|
offset: Annotated[
|
@@ -3976,7 +4153,7 @@ class ProjectsV1Api(BaseApi):
|
|
3976
4153
|
|
3977
4154
|
:param owner: Owner of the namespace (required)
|
3978
4155
|
:type owner: str
|
3979
|
-
:param entity: Entity name under
|
4156
|
+
:param entity: Entity name under namespace (required)
|
3980
4157
|
:type entity: str
|
3981
4158
|
:param kind: Version Kind (required)
|
3982
4159
|
:type kind: str
|
@@ -4010,12 +4187,12 @@ class ProjectsV1Api(BaseApi):
|
|
4010
4187
|
owner, entity, kind, offset, limit, sort, query, no_page, **kwargs
|
4011
4188
|
) # noqa: E501
|
4012
4189
|
|
4013
|
-
@
|
4190
|
+
@validate_call
|
4014
4191
|
def list_versions_with_http_info(
|
4015
4192
|
self,
|
4016
4193
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4017
4194
|
entity: Annotated[
|
4018
|
-
StrictStr, Field(..., description="Entity name under
|
4195
|
+
StrictStr, Field(..., description="Entity name under namespace")
|
4019
4196
|
],
|
4020
4197
|
kind: Annotated[str, Field(..., description="Version Kind")],
|
4021
4198
|
offset: Annotated[
|
@@ -4041,7 +4218,7 @@ class ProjectsV1Api(BaseApi):
|
|
4041
4218
|
|
4042
4219
|
:param owner: Owner of the namespace (required)
|
4043
4220
|
:type owner: str
|
4044
|
-
:param entity: Entity name under
|
4221
|
+
:param entity: Entity name under namespace (required)
|
4045
4222
|
:type entity: str
|
4046
4223
|
:param kind: Version Kind (required)
|
4047
4224
|
:type kind: str
|
@@ -4181,7 +4358,7 @@ class ProjectsV1Api(BaseApi):
|
|
4181
4358
|
_request_auth=_params.get("_request_auth"),
|
4182
4359
|
)
|
4183
4360
|
|
4184
|
-
@
|
4361
|
+
@validate_call
|
4185
4362
|
def patch_project(
|
4186
4363
|
self,
|
4187
4364
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4223,7 +4400,7 @@ class ProjectsV1Api(BaseApi):
|
|
4223
4400
|
owner, project_name, body, **kwargs
|
4224
4401
|
) # noqa: E501
|
4225
4402
|
|
4226
|
-
@
|
4403
|
+
@validate_call
|
4227
4404
|
def patch_project_with_http_info(
|
4228
4405
|
self,
|
4229
4406
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4360,7 +4537,7 @@ class ProjectsV1Api(BaseApi):
|
|
4360
4537
|
_request_auth=_params.get("_request_auth"),
|
4361
4538
|
)
|
4362
4539
|
|
4363
|
-
@
|
4540
|
+
@validate_call
|
4364
4541
|
def patch_project_settings(
|
4365
4542
|
self,
|
4366
4543
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4404,7 +4581,7 @@ class ProjectsV1Api(BaseApi):
|
|
4404
4581
|
owner, project, body, **kwargs
|
4405
4582
|
) # noqa: E501
|
4406
4583
|
|
4407
|
-
@
|
4584
|
+
@validate_call
|
4408
4585
|
def patch_project_settings_with_http_info(
|
4409
4586
|
self,
|
4410
4587
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4543,7 +4720,7 @@ class ProjectsV1Api(BaseApi):
|
|
4543
4720
|
_request_auth=_params.get("_request_auth"),
|
4544
4721
|
)
|
4545
4722
|
|
4546
|
-
@
|
4723
|
+
@validate_call
|
4547
4724
|
def patch_version(
|
4548
4725
|
self,
|
4549
4726
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4602,7 +4779,7 @@ class ProjectsV1Api(BaseApi):
|
|
4602
4779
|
owner, project, version_kind, version_name, body, **kwargs
|
4603
4780
|
) # noqa: E501
|
4604
4781
|
|
4605
|
-
@
|
4782
|
+
@validate_call
|
4606
4783
|
def patch_version_with_http_info(
|
4607
4784
|
self,
|
4608
4785
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4760,11 +4937,11 @@ class ProjectsV1Api(BaseApi):
|
|
4760
4937
|
_request_auth=_params.get("_request_auth"),
|
4761
4938
|
)
|
4762
4939
|
|
4763
|
-
@
|
4940
|
+
@validate_call
|
4764
4941
|
def restore_project(
|
4765
4942
|
self,
|
4766
4943
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4767
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
4944
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
4768
4945
|
**kwargs
|
4769
4946
|
) -> None: # noqa: E501
|
4770
4947
|
"""Restore project # noqa: E501
|
@@ -4777,7 +4954,7 @@ class ProjectsV1Api(BaseApi):
|
|
4777
4954
|
|
4778
4955
|
:param owner: Owner of the namespace (required)
|
4779
4956
|
:type owner: str
|
4780
|
-
:param name: Component under
|
4957
|
+
:param name: Component under namespace (required)
|
4781
4958
|
:type name: str
|
4782
4959
|
:param async_req: Whether to execute the request asynchronously.
|
4783
4960
|
:type async_req: bool, optional
|
@@ -4797,11 +4974,11 @@ class ProjectsV1Api(BaseApi):
|
|
4797
4974
|
kwargs["_return_http_data_only"] = True
|
4798
4975
|
return self.restore_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
4799
4976
|
|
4800
|
-
@
|
4977
|
+
@validate_call
|
4801
4978
|
def restore_project_with_http_info(
|
4802
4979
|
self,
|
4803
4980
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
4804
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
4981
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
4805
4982
|
**kwargs
|
4806
4983
|
): # noqa: E501
|
4807
4984
|
"""Restore project # noqa: E501
|
@@ -4814,7 +4991,7 @@ class ProjectsV1Api(BaseApi):
|
|
4814
4991
|
|
4815
4992
|
:param owner: Owner of the namespace (required)
|
4816
4993
|
:type owner: str
|
4817
|
-
:param name: Component under
|
4994
|
+
:param name: Component under namespace (required)
|
4818
4995
|
:type name: str
|
4819
4996
|
:param async_req: Whether to execute the request asynchronously.
|
4820
4997
|
:type async_req: bool, optional
|
@@ -4916,7 +5093,7 @@ class ProjectsV1Api(BaseApi):
|
|
4916
5093
|
_request_auth=_params.get("_request_auth"),
|
4917
5094
|
)
|
4918
5095
|
|
4919
|
-
@
|
5096
|
+
@validate_call
|
4920
5097
|
def transfer_version(
|
4921
5098
|
self,
|
4922
5099
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4975,7 +5152,7 @@ class ProjectsV1Api(BaseApi):
|
|
4975
5152
|
owner, project, version_kind, version_name, body, **kwargs
|
4976
5153
|
) # noqa: E501
|
4977
5154
|
|
4978
|
-
@
|
5155
|
+
@validate_call
|
4979
5156
|
def transfer_version_with_http_info(
|
4980
5157
|
self,
|
4981
5158
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5128,11 +5305,11 @@ class ProjectsV1Api(BaseApi):
|
|
5128
5305
|
_request_auth=_params.get("_request_auth"),
|
5129
5306
|
)
|
5130
5307
|
|
5131
|
-
@
|
5308
|
+
@validate_call
|
5132
5309
|
def unbookmark_project(
|
5133
5310
|
self,
|
5134
5311
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5135
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
5312
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
5136
5313
|
**kwargs
|
5137
5314
|
) -> None: # noqa: E501
|
5138
5315
|
"""Unbookmark project # noqa: E501
|
@@ -5145,7 +5322,7 @@ class ProjectsV1Api(BaseApi):
|
|
5145
5322
|
|
5146
5323
|
:param owner: Owner of the namespace (required)
|
5147
5324
|
:type owner: str
|
5148
|
-
:param name: Component under
|
5325
|
+
:param name: Component under namespace (required)
|
5149
5326
|
:type name: str
|
5150
5327
|
:param async_req: Whether to execute the request asynchronously.
|
5151
5328
|
:type async_req: bool, optional
|
@@ -5167,11 +5344,11 @@ class ProjectsV1Api(BaseApi):
|
|
5167
5344
|
owner, name, **kwargs
|
5168
5345
|
) # noqa: E501
|
5169
5346
|
|
5170
|
-
@
|
5347
|
+
@validate_call
|
5171
5348
|
def unbookmark_project_with_http_info(
|
5172
5349
|
self,
|
5173
5350
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
5174
|
-
name: Annotated[StrictStr, Field(..., description="Component under
|
5351
|
+
name: Annotated[StrictStr, Field(..., description="Component under namespace")],
|
5175
5352
|
**kwargs
|
5176
5353
|
): # noqa: E501
|
5177
5354
|
"""Unbookmark project # noqa: E501
|
@@ -5184,7 +5361,7 @@ class ProjectsV1Api(BaseApi):
|
|
5184
5361
|
|
5185
5362
|
:param owner: Owner of the namespace (required)
|
5186
5363
|
:type owner: str
|
5187
|
-
:param name: Component under
|
5364
|
+
:param name: Component under namespace (required)
|
5188
5365
|
:type name: str
|
5189
5366
|
:param async_req: Whether to execute the request asynchronously.
|
5190
5367
|
:type async_req: bool, optional
|
@@ -5286,7 +5463,7 @@ class ProjectsV1Api(BaseApi):
|
|
5286
5463
|
_request_auth=_params.get("_request_auth"),
|
5287
5464
|
)
|
5288
5465
|
|
5289
|
-
@
|
5466
|
+
@validate_call
|
5290
5467
|
def update_project(
|
5291
5468
|
self,
|
5292
5469
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5328,7 +5505,7 @@ class ProjectsV1Api(BaseApi):
|
|
5328
5505
|
owner, project_name, body, **kwargs
|
5329
5506
|
) # noqa: E501
|
5330
5507
|
|
5331
|
-
@
|
5508
|
+
@validate_call
|
5332
5509
|
def update_project_with_http_info(
|
5333
5510
|
self,
|
5334
5511
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5465,7 +5642,7 @@ class ProjectsV1Api(BaseApi):
|
|
5465
5642
|
_request_auth=_params.get("_request_auth"),
|
5466
5643
|
)
|
5467
5644
|
|
5468
|
-
@
|
5645
|
+
@validate_call
|
5469
5646
|
def update_project_settings(
|
5470
5647
|
self,
|
5471
5648
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5509,7 +5686,7 @@ class ProjectsV1Api(BaseApi):
|
|
5509
5686
|
owner, project, body, **kwargs
|
5510
5687
|
) # noqa: E501
|
5511
5688
|
|
5512
|
-
@
|
5689
|
+
@validate_call
|
5513
5690
|
def update_project_settings_with_http_info(
|
5514
5691
|
self,
|
5515
5692
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5648,7 +5825,7 @@ class ProjectsV1Api(BaseApi):
|
|
5648
5825
|
_request_auth=_params.get("_request_auth"),
|
5649
5826
|
)
|
5650
5827
|
|
5651
|
-
@
|
5828
|
+
@validate_call
|
5652
5829
|
def update_version(
|
5653
5830
|
self,
|
5654
5831
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5707,7 +5884,7 @@ class ProjectsV1Api(BaseApi):
|
|
5707
5884
|
owner, project, version_kind, version_name, body, **kwargs
|
5708
5885
|
) # noqa: E501
|
5709
5886
|
|
5710
|
-
@
|
5887
|
+
@validate_call
|
5711
5888
|
def update_version_with_http_info(
|
5712
5889
|
self,
|
5713
5890
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5865,7 +6042,7 @@ class ProjectsV1Api(BaseApi):
|
|
5865
6042
|
_request_auth=_params.get("_request_auth"),
|
5866
6043
|
)
|
5867
6044
|
|
5868
|
-
@
|
6045
|
+
@validate_call
|
5869
6046
|
def upload_project_artifact(
|
5870
6047
|
self,
|
5871
6048
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -5924,7 +6101,7 @@ class ProjectsV1Api(BaseApi):
|
|
5924
6101
|
owner, project, uuid, uploadfile, path, overwrite, **kwargs
|
5925
6102
|
) # noqa: E501
|
5926
6103
|
|
5927
|
-
@
|
6104
|
+
@validate_call
|
5928
6105
|
def upload_project_artifact_with_http_info(
|
5929
6106
|
self,
|
5930
6107
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|