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.
Files changed (270) hide show
  1. polyaxon/_auxiliaries/default_scheduling.py +17 -7
  2. polyaxon/_auxiliaries/init.py +14 -6
  3. polyaxon/_auxiliaries/sidecar.py +10 -8
  4. polyaxon/_cli/artifacts.py +96 -11
  5. polyaxon/_cli/components.py +96 -11
  6. polyaxon/_cli/config.py +31 -0
  7. polyaxon/_cli/dashboard.py +12 -2
  8. polyaxon/_cli/init.py +1 -1
  9. polyaxon/_cli/models.py +96 -11
  10. polyaxon/_cli/operations.py +133 -58
  11. polyaxon/_cli/project_versions.py +139 -6
  12. polyaxon/_cli/projects.py +23 -9
  13. polyaxon/_cli/run.py +43 -9
  14. polyaxon/_cli/services/agent.py +2 -2
  15. polyaxon/_cli/version.py +4 -1
  16. polyaxon/_client/mixin.py +39 -0
  17. polyaxon/_client/project.py +218 -23
  18. polyaxon/_client/run.py +84 -27
  19. polyaxon/_compiler/contexts/contexts.py +4 -0
  20. polyaxon/_compiler/contexts/ray_job.py +4 -2
  21. polyaxon/_compiler/resolver/agent.py +22 -10
  22. polyaxon/_compiler/resolver/runtime.py +7 -3
  23. polyaxon/_constants/metadata.py +1 -0
  24. polyaxon/_contexts/keys.py +1 -0
  25. polyaxon/_contexts/paths.py +1 -1
  26. polyaxon/_deploy/operators/compose.py +1 -27
  27. polyaxon/_deploy/schemas/auth.py +3 -3
  28. polyaxon/_deploy/schemas/celery.py +10 -8
  29. polyaxon/_deploy/schemas/deployment.py +148 -115
  30. polyaxon/_deploy/schemas/email.py +8 -8
  31. polyaxon/_deploy/schemas/ingress.py +7 -7
  32. polyaxon/_deploy/schemas/intervals.py +2 -7
  33. polyaxon/_deploy/schemas/operators.py +8 -8
  34. polyaxon/_deploy/schemas/proxy.py +9 -8
  35. polyaxon/_deploy/schemas/rbac.py +1 -1
  36. polyaxon/_deploy/schemas/root_user.py +5 -5
  37. polyaxon/_deploy/schemas/security_context.py +25 -15
  38. polyaxon/_deploy/schemas/service.py +75 -66
  39. polyaxon/_deploy/schemas/ssl.py +3 -3
  40. polyaxon/_deploy/schemas/ui.py +10 -6
  41. polyaxon/_docker/builder/builder.py +4 -1
  42. polyaxon/_docker/converter/base/containers.py +4 -7
  43. polyaxon/_docker/converter/base/env_vars.py +5 -5
  44. polyaxon/_docker/converter/base/mounts.py +2 -2
  45. polyaxon/_docker/docker_types.py +57 -30
  46. polyaxon/_env_vars/getters/owner_entity.py +4 -2
  47. polyaxon/_env_vars/getters/project.py +4 -2
  48. polyaxon/_env_vars/getters/run.py +5 -2
  49. polyaxon/_env_vars/keys.py +3 -0
  50. polyaxon/_flow/__init__.py +3 -2
  51. polyaxon/_flow/builds/__init__.py +8 -8
  52. polyaxon/_flow/cache/__init__.py +4 -4
  53. polyaxon/_flow/component/base.py +25 -18
  54. polyaxon/_flow/component/component.py +4 -3
  55. polyaxon/_flow/early_stopping/__init__.py +1 -1
  56. polyaxon/_flow/early_stopping/policies.py +12 -10
  57. polyaxon/_flow/environment/__init__.py +43 -25
  58. polyaxon/_flow/events/__init__.py +1 -1
  59. polyaxon/_flow/hooks/__init__.py +11 -11
  60. polyaxon/_flow/init/__init__.py +41 -25
  61. polyaxon/_flow/io/io.py +57 -47
  62. polyaxon/_flow/joins/__init__.py +5 -5
  63. polyaxon/_flow/matrix/bayes.py +23 -17
  64. polyaxon/_flow/matrix/grid_search.py +16 -7
  65. polyaxon/_flow/matrix/hyperband.py +10 -10
  66. polyaxon/_flow/matrix/hyperopt.py +14 -9
  67. polyaxon/_flow/matrix/iterative.py +14 -8
  68. polyaxon/_flow/matrix/mapping.py +4 -4
  69. polyaxon/_flow/matrix/params.py +138 -77
  70. polyaxon/_flow/matrix/random_search.py +10 -5
  71. polyaxon/_flow/matrix/tuner.py +4 -4
  72. polyaxon/_flow/mounts/artifacts_mounts.py +1 -1
  73. polyaxon/_flow/notifications/__init__.py +1 -1
  74. polyaxon/_flow/operations/base.py +10 -8
  75. polyaxon/_flow/operations/compiled_operation.py +5 -4
  76. polyaxon/_flow/operations/operation.py +57 -41
  77. polyaxon/_flow/optimization/__init__.py +2 -2
  78. polyaxon/_flow/params/params.py +10 -9
  79. polyaxon/_flow/plugins/__init__.py +19 -13
  80. polyaxon/_flow/run/dag.py +12 -9
  81. polyaxon/_flow/run/dask/dask.py +4 -4
  82. polyaxon/_flow/run/dask/replica.py +17 -11
  83. polyaxon/_flow/run/job.py +17 -11
  84. polyaxon/_flow/run/kubeflow/mpi_job.py +10 -5
  85. polyaxon/_flow/run/kubeflow/mx_job.py +25 -9
  86. polyaxon/_flow/run/kubeflow/paddle_job.py +16 -9
  87. polyaxon/_flow/run/kubeflow/pytorch_job.py +24 -17
  88. polyaxon/_flow/run/kubeflow/replica.py +17 -11
  89. polyaxon/_flow/run/kubeflow/scheduling_policy.py +7 -5
  90. polyaxon/_flow/run/kubeflow/tf_job.py +15 -8
  91. polyaxon/_flow/run/kubeflow/xgboost_job.py +9 -4
  92. polyaxon/_flow/run/ray/ray.py +9 -6
  93. polyaxon/_flow/run/ray/replica.py +25 -16
  94. polyaxon/_flow/run/resources.py +14 -13
  95. polyaxon/_flow/run/service.py +4 -4
  96. polyaxon/_flow/schedules/cron.py +4 -4
  97. polyaxon/_flow/schedules/interval.py +4 -4
  98. polyaxon/_flow/templates/__init__.py +3 -3
  99. polyaxon/_flow/termination/__init__.py +3 -3
  100. polyaxon/_fs/async_manager.py +1 -1
  101. polyaxon/_fs/fs.py +1 -1
  102. polyaxon/_fs/watcher.py +26 -27
  103. polyaxon/_k8s/converter/base/base.py +2 -1
  104. polyaxon/_k8s/converter/base/main.py +1 -0
  105. polyaxon/_k8s/converter/common/accelerators.py +7 -4
  106. polyaxon/_k8s/converter/converters/ray_job.py +4 -2
  107. polyaxon/_k8s/custom_resources/dask_job.py +3 -0
  108. polyaxon/_k8s/custom_resources/kubeflow/common.py +4 -1
  109. polyaxon/_k8s/custom_resources/ray_job.py +3 -0
  110. polyaxon/_k8s/custom_resources/setter.py +1 -1
  111. polyaxon/_k8s/executor/async_executor.py +2 -0
  112. polyaxon/_k8s/k8s_validation.py +1 -1
  113. polyaxon/_k8s/logging/async_monitor.py +82 -11
  114. polyaxon/_k8s/manager/async_manager.py +15 -0
  115. polyaxon/_k8s/manager/manager.py +16 -1
  116. polyaxon/_local_process/__init__.py +0 -0
  117. polyaxon/_local_process/agent.py +6 -0
  118. polyaxon/_local_process/converter/__init__.py +1 -0
  119. polyaxon/_local_process/converter/base/__init__.py +1 -0
  120. polyaxon/_local_process/converter/base/base.py +140 -0
  121. polyaxon/_local_process/converter/base/containers.py +66 -0
  122. polyaxon/_local_process/converter/base/env_vars.py +253 -0
  123. polyaxon/_local_process/converter/base/init.py +414 -0
  124. polyaxon/_local_process/converter/base/main.py +74 -0
  125. polyaxon/_local_process/converter/base/mounts.py +82 -0
  126. polyaxon/_local_process/converter/converters/__init__.py +8 -0
  127. polyaxon/_local_process/converter/converters/job.py +40 -0
  128. polyaxon/_local_process/converter/converters/service.py +41 -0
  129. polyaxon/_local_process/converter/mixins.py +38 -0
  130. polyaxon/_local_process/executor.py +132 -0
  131. polyaxon/_local_process/process_types.py +42 -0
  132. polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
  133. polyaxon/_polyaxonfile/specs/libs/parser.py +1 -1
  134. polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
  135. polyaxon/_polyaxonfile/specs/operation.py +1 -1
  136. polyaxon/_polyaxonfile/specs/sections.py +8 -0
  137. polyaxon/_pql/manager.py +1 -1
  138. polyaxon/_runner/agent/async_agent.py +25 -11
  139. polyaxon/_runner/agent/base_agent.py +19 -10
  140. polyaxon/_runner/agent/sync_agent.py +24 -10
  141. polyaxon/_runner/converter/converter.py +12 -4
  142. polyaxon/_runner/executor.py +1 -1
  143. polyaxon/_schemas/agent.py +69 -37
  144. polyaxon/_schemas/authentication.py +4 -4
  145. polyaxon/_schemas/base.py +26 -2
  146. polyaxon/_schemas/checks.py +3 -3
  147. polyaxon/_schemas/cli.py +4 -6
  148. polyaxon/_schemas/client.py +20 -18
  149. polyaxon/_schemas/compatibility.py +4 -4
  150. polyaxon/_schemas/container_resources.py +1 -1
  151. polyaxon/_schemas/home.py +3 -3
  152. polyaxon/_schemas/installation.py +13 -9
  153. polyaxon/_schemas/lifecycle.py +23 -23
  154. polyaxon/_schemas/log_handler.py +2 -2
  155. polyaxon/_schemas/services.py +26 -14
  156. polyaxon/_schemas/types/artifacts.py +3 -3
  157. polyaxon/_schemas/types/dockerfile.py +14 -12
  158. polyaxon/_schemas/types/event.py +2 -2
  159. polyaxon/_schemas/types/file.py +3 -3
  160. polyaxon/_schemas/types/git.py +12 -4
  161. polyaxon/_schemas/types/tensorboard.py +14 -8
  162. polyaxon/_schemas/user.py +3 -3
  163. polyaxon/_schemas/version.py +2 -2
  164. polyaxon/_sdk/api/agents_v1_api.py +222 -43
  165. polyaxon/_sdk/api/artifacts_stores_v1_api.py +3 -3
  166. polyaxon/_sdk/api/auth_v1_api.py +13 -13
  167. polyaxon/_sdk/api/connections_v1_api.py +15 -15
  168. polyaxon/_sdk/api/dashboards_v1_api.py +15 -15
  169. polyaxon/_sdk/api/organizations_v1_api.py +85 -85
  170. polyaxon/_sdk/api/presets_v1_api.py +15 -15
  171. polyaxon/_sdk/api/project_dashboards_v1_api.py +29 -29
  172. polyaxon/_sdk/api/project_searches_v1_api.py +29 -29
  173. polyaxon/_sdk/api/projects_v1_api.py +284 -107
  174. polyaxon/_sdk/api/queues_v1_api.py +19 -19
  175. polyaxon/_sdk/api/runs_v1_api.py +313 -359
  176. polyaxon/_sdk/api/searches_v1_api.py +15 -15
  177. polyaxon/_sdk/api/service_accounts_v1_api.py +31 -31
  178. polyaxon/_sdk/api/tags_v1_api.py +17 -17
  179. polyaxon/_sdk/api/teams_v1_api.py +2854 -402
  180. polyaxon/_sdk/api/users_v1_api.py +254 -78
  181. polyaxon/_sdk/api/versions_v1_api.py +7 -7
  182. polyaxon/_sdk/async_client/api_client.py +4 -0
  183. polyaxon/_sdk/schemas/__init__.py +1 -1
  184. polyaxon/_sdk/schemas/v1_activity.py +8 -8
  185. polyaxon/_sdk/schemas/v1_agent.py +18 -16
  186. polyaxon/_sdk/schemas/v1_agent_state_response.py +4 -4
  187. polyaxon/_sdk/schemas/v1_agent_state_response_agent_state.py +10 -10
  188. polyaxon/_sdk/schemas/v1_agent_status_body_request.py +3 -3
  189. polyaxon/_sdk/schemas/v1_analytics_spec.py +4 -4
  190. polyaxon/_sdk/schemas/v1_artifact_tree.py +3 -3
  191. polyaxon/_sdk/schemas/v1_auth.py +1 -1
  192. polyaxon/_sdk/schemas/v1_cloning.py +3 -3
  193. polyaxon/_sdk/schemas/v1_connection_response.py +9 -9
  194. polyaxon/_sdk/schemas/v1_dashboard.py +9 -9
  195. polyaxon/_sdk/schemas/v1_dashboard_spec.py +5 -1
  196. polyaxon/_sdk/schemas/v1_entities_tags.py +2 -2
  197. polyaxon/_sdk/schemas/v1_entities_transfer.py +2 -2
  198. polyaxon/_sdk/schemas/v1_entity_notification_body.py +7 -7
  199. polyaxon/_sdk/schemas/v1_entity_stage_body_request.py +5 -5
  200. polyaxon/_sdk/schemas/v1_entity_status_body_request.py +5 -5
  201. polyaxon/_sdk/schemas/v1_events_response.py +2 -2
  202. polyaxon/_sdk/schemas/v1_list_activities_response.py +4 -4
  203. polyaxon/_sdk/schemas/v1_list_agents_response.py +4 -4
  204. polyaxon/_sdk/schemas/v1_list_bookmarks_response.py +4 -4
  205. polyaxon/_sdk/schemas/v1_list_connections_response.py +4 -4
  206. polyaxon/_sdk/schemas/v1_list_dashboards_response.py +4 -4
  207. polyaxon/_sdk/schemas/v1_list_organization_members_response.py +4 -4
  208. polyaxon/_sdk/schemas/v1_list_organizations_response.py +4 -4
  209. polyaxon/_sdk/schemas/v1_list_presets_response.py +4 -4
  210. polyaxon/_sdk/schemas/v1_list_project_versions_response.py +4 -4
  211. polyaxon/_sdk/schemas/v1_list_projects_response.py +4 -4
  212. polyaxon/_sdk/schemas/v1_list_queues_response.py +4 -4
  213. polyaxon/_sdk/schemas/v1_list_run_artifacts_response.py +4 -4
  214. polyaxon/_sdk/schemas/v1_list_run_connections_response.py +4 -4
  215. polyaxon/_sdk/schemas/v1_list_run_edges_response.py +4 -4
  216. polyaxon/_sdk/schemas/v1_list_runs_response.py +4 -4
  217. polyaxon/_sdk/schemas/v1_list_searches_response.py +4 -4
  218. polyaxon/_sdk/schemas/v1_list_service_accounts_response.py +4 -4
  219. polyaxon/_sdk/schemas/v1_list_tags_response.py +4 -4
  220. polyaxon/_sdk/schemas/v1_list_team_members_response.py +4 -4
  221. polyaxon/_sdk/schemas/v1_list_teams_response.py +4 -4
  222. polyaxon/_sdk/schemas/v1_list_token_response.py +4 -4
  223. polyaxon/_sdk/schemas/v1_operation_body.py +8 -8
  224. polyaxon/_sdk/schemas/v1_organization.py +16 -16
  225. polyaxon/_sdk/schemas/v1_organization_member.py +6 -6
  226. polyaxon/_sdk/schemas/v1_password_change.py +3 -3
  227. polyaxon/_sdk/schemas/v1_pipeline.py +3 -3
  228. polyaxon/_sdk/schemas/v1_preset.py +16 -9
  229. polyaxon/_sdk/schemas/v1_project.py +17 -17
  230. polyaxon/_sdk/schemas/v1_project_settings.py +12 -10
  231. polyaxon/_sdk/schemas/v1_project_version.py +20 -20
  232. polyaxon/_sdk/schemas/v1_queue.py +12 -12
  233. polyaxon/_sdk/schemas/v1_run.py +38 -38
  234. polyaxon/_sdk/schemas/v1_run_connection.py +3 -3
  235. polyaxon/_sdk/schemas/v1_run_edge.py +5 -5
  236. polyaxon/_sdk/schemas/v1_run_edge_lineage.py +3 -3
  237. polyaxon/_sdk/schemas/v1_run_edges_graph.py +1 -1
  238. polyaxon/_sdk/schemas/v1_run_reference_catalog.py +4 -4
  239. polyaxon/_sdk/schemas/v1_run_settings.py +9 -9
  240. polyaxon/_sdk/schemas/v1_search.py +10 -10
  241. polyaxon/_sdk/schemas/v1_search_spec.py +14 -14
  242. polyaxon/_sdk/schemas/v1_section_spec.py +12 -7
  243. polyaxon/_sdk/schemas/v1_service_account.py +9 -9
  244. polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -3
  245. polyaxon/_sdk/schemas/v1_tag.py +6 -6
  246. polyaxon/_sdk/schemas/v1_team.py +11 -8
  247. polyaxon/_sdk/schemas/v1_team_member.py +6 -6
  248. polyaxon/_sdk/schemas/v1_team_settings.py +2 -2
  249. polyaxon/_sdk/schemas/v1_token.py +10 -10
  250. polyaxon/_sdk/schemas/v1_trial_start.py +6 -6
  251. polyaxon/_sdk/schemas/v1_user.py +6 -7
  252. polyaxon/_sdk/schemas/v1_user_access.py +17 -0
  253. polyaxon/_sdk/schemas/v1_user_email.py +1 -1
  254. polyaxon/_sdk/schemas/v1_user_singup.py +5 -5
  255. polyaxon/_sdk/schemas/v1_uuids.py +1 -1
  256. polyaxon/_sidecar/container/__init__.py +39 -20
  257. polyaxon/_sidecar/container/monitors/logs.py +10 -13
  258. polyaxon/_sidecar/ignore.py +0 -1
  259. polyaxon/_utils/cli_constants.py +2 -0
  260. polyaxon/_utils/fqn_utils.py +25 -2
  261. polyaxon/_utils/test_utils.py +2 -1
  262. polyaxon/pkg.py +1 -1
  263. polyaxon/schemas.py +1 -1
  264. {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/METADATA +43 -43
  265. {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/RECORD +269 -252
  266. {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/WHEEL +1 -1
  267. polyaxon/_sdk/schemas/v1_project_user_access.py +0 -10
  268. {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/LICENSE +0 -0
  269. {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/entry_points.txt +0 -0
  270. {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, validate_arguments
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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 namesapce")
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 namesapce (required)
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
- @validate_arguments
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 namesapce")
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 namesapce (required)
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
- @validate_arguments
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 namesapce")
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 namesapce (required)
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
- @validate_arguments
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 namesapce")
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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 namesapce")],
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 namesapce (required)
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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
- @validate_arguments
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")],