polyaxon 2.5.3__py3-none-any.whl → 2.6.0.post1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) 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/_compiler/resolver/agent.py +10 -9
  5. polyaxon/_deploy/schemas/auth.py +3 -3
  6. polyaxon/_deploy/schemas/celery.py +10 -8
  7. polyaxon/_deploy/schemas/deployment.py +148 -115
  8. polyaxon/_deploy/schemas/email.py +8 -8
  9. polyaxon/_deploy/schemas/ingress.py +7 -7
  10. polyaxon/_deploy/schemas/intervals.py +3 -1
  11. polyaxon/_deploy/schemas/operators.py +8 -8
  12. polyaxon/_deploy/schemas/proxy.py +9 -9
  13. polyaxon/_deploy/schemas/rbac.py +1 -1
  14. polyaxon/_deploy/schemas/root_user.py +5 -5
  15. polyaxon/_deploy/schemas/security_context.py +25 -15
  16. polyaxon/_deploy/schemas/service.py +73 -69
  17. polyaxon/_deploy/schemas/ssl.py +3 -3
  18. polyaxon/_deploy/schemas/ui.py +10 -8
  19. polyaxon/_docker/builder/builder.py +4 -1
  20. polyaxon/_docker/converter/base/containers.py +4 -7
  21. polyaxon/_docker/converter/base/env_vars.py +5 -5
  22. polyaxon/_docker/converter/base/mounts.py +2 -2
  23. polyaxon/_docker/docker_types.py +57 -30
  24. polyaxon/_flow/__init__.py +3 -2
  25. polyaxon/_flow/builds/__init__.py +8 -8
  26. polyaxon/_flow/cache/__init__.py +4 -4
  27. polyaxon/_flow/component/base.py +25 -18
  28. polyaxon/_flow/component/component.py +4 -3
  29. polyaxon/_flow/early_stopping/__init__.py +1 -1
  30. polyaxon/_flow/early_stopping/policies.py +12 -10
  31. polyaxon/_flow/environment/__init__.py +42 -24
  32. polyaxon/_flow/hooks/__init__.py +11 -11
  33. polyaxon/_flow/init/__init__.py +41 -25
  34. polyaxon/_flow/io/io.py +59 -47
  35. polyaxon/_flow/joins/__init__.py +5 -5
  36. polyaxon/_flow/matrix/bayes.py +23 -17
  37. polyaxon/_flow/matrix/grid_search.py +16 -7
  38. polyaxon/_flow/matrix/hyperband.py +10 -10
  39. polyaxon/_flow/matrix/hyperopt.py +14 -9
  40. polyaxon/_flow/matrix/iterative.py +14 -8
  41. polyaxon/_flow/matrix/mapping.py +4 -4
  42. polyaxon/_flow/matrix/params.py +138 -77
  43. polyaxon/_flow/matrix/random_search.py +10 -5
  44. polyaxon/_flow/matrix/tuner.py +4 -4
  45. polyaxon/_flow/mounts/artifacts_mounts.py +1 -1
  46. polyaxon/_flow/notifications/__init__.py +1 -1
  47. polyaxon/_flow/operations/base.py +10 -8
  48. polyaxon/_flow/operations/compiled_operation.py +5 -4
  49. polyaxon/_flow/operations/operation.py +30 -22
  50. polyaxon/_flow/optimization/__init__.py +2 -2
  51. polyaxon/_flow/params/params.py +11 -10
  52. polyaxon/_flow/plugins/__init__.py +19 -13
  53. polyaxon/_flow/run/dag.py +12 -9
  54. polyaxon/_flow/run/dask/dask.py +4 -4
  55. polyaxon/_flow/run/dask/replica.py +17 -11
  56. polyaxon/_flow/run/job.py +17 -11
  57. polyaxon/_flow/run/kubeflow/mpi_job.py +10 -5
  58. polyaxon/_flow/run/kubeflow/mx_job.py +25 -9
  59. polyaxon/_flow/run/kubeflow/paddle_job.py +16 -9
  60. polyaxon/_flow/run/kubeflow/pytorch_job.py +24 -17
  61. polyaxon/_flow/run/kubeflow/replica.py +17 -11
  62. polyaxon/_flow/run/kubeflow/scheduling_policy.py +7 -5
  63. polyaxon/_flow/run/kubeflow/tf_job.py +15 -8
  64. polyaxon/_flow/run/kubeflow/xgboost_job.py +9 -4
  65. polyaxon/_flow/run/ray/ray.py +9 -6
  66. polyaxon/_flow/run/ray/replica.py +25 -16
  67. polyaxon/_flow/run/resources.py +14 -13
  68. polyaxon/_flow/run/service.py +4 -4
  69. polyaxon/_flow/schedules/cron.py +4 -4
  70. polyaxon/_flow/schedules/interval.py +4 -4
  71. polyaxon/_flow/templates/__init__.py +3 -3
  72. polyaxon/_flow/termination/__init__.py +3 -3
  73. polyaxon/_fs/watcher.py +26 -27
  74. polyaxon/_k8s/k8s_validation.py +1 -1
  75. polyaxon/_local_process/converter/base/containers.py +4 -7
  76. polyaxon/_local_process/converter/base/env_vars.py +5 -5
  77. polyaxon/_local_process/process_types.py +15 -12
  78. polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
  79. polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
  80. polyaxon/_polyaxonfile/specs/operation.py +1 -1
  81. polyaxon/_runner/agent/sync_agent.py +1 -1
  82. polyaxon/_runner/converter/converter.py +1 -1
  83. polyaxon/_schemas/agent.py +69 -37
  84. polyaxon/_schemas/authentication.py +4 -4
  85. polyaxon/_schemas/base.py +26 -2
  86. polyaxon/_schemas/checks.py +3 -3
  87. polyaxon/_schemas/cli.py +4 -6
  88. polyaxon/_schemas/client.py +20 -18
  89. polyaxon/_schemas/compatibility.py +4 -4
  90. polyaxon/_schemas/container_resources.py +1 -1
  91. polyaxon/_schemas/home.py +3 -3
  92. polyaxon/_schemas/installation.py +8 -8
  93. polyaxon/_schemas/lifecycle.py +21 -21
  94. polyaxon/_schemas/log_handler.py +2 -2
  95. polyaxon/_schemas/services.py +26 -14
  96. polyaxon/_schemas/types/artifacts.py +3 -3
  97. polyaxon/_schemas/types/dockerfile.py +14 -12
  98. polyaxon/_schemas/types/event.py +2 -2
  99. polyaxon/_schemas/types/file.py +3 -3
  100. polyaxon/_schemas/types/git.py +12 -4
  101. polyaxon/_schemas/types/tensorboard.py +14 -8
  102. polyaxon/_schemas/user.py +3 -3
  103. polyaxon/_schemas/version.py +2 -2
  104. polyaxon/_sdk/api/agents_v1_api.py +45 -45
  105. polyaxon/_sdk/api/artifacts_stores_v1_api.py +3 -3
  106. polyaxon/_sdk/api/auth_v1_api.py +13 -13
  107. polyaxon/_sdk/api/connections_v1_api.py +15 -15
  108. polyaxon/_sdk/api/dashboards_v1_api.py +15 -15
  109. polyaxon/_sdk/api/organizations_v1_api.py +77 -77
  110. polyaxon/_sdk/api/presets_v1_api.py +15 -15
  111. polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -17
  112. polyaxon/_sdk/api/project_searches_v1_api.py +17 -17
  113. polyaxon/_sdk/api/projects_v1_api.py +65 -65
  114. polyaxon/_sdk/api/queues_v1_api.py +19 -19
  115. polyaxon/_sdk/api/runs_v1_api.py +127 -127
  116. polyaxon/_sdk/api/searches_v1_api.py +15 -15
  117. polyaxon/_sdk/api/service_accounts_v1_api.py +27 -27
  118. polyaxon/_sdk/api/tags_v1_api.py +17 -17
  119. polyaxon/_sdk/api/teams_v1_api.py +51 -51
  120. polyaxon/_sdk/api/users_v1_api.py +25 -25
  121. polyaxon/_sdk/api/versions_v1_api.py +7 -7
  122. polyaxon/_sdk/schemas/v1_activity.py +8 -8
  123. polyaxon/_sdk/schemas/v1_agent.py +17 -17
  124. polyaxon/_sdk/schemas/v1_agent_state_response.py +4 -4
  125. polyaxon/_sdk/schemas/v1_agent_state_response_agent_state.py +10 -10
  126. polyaxon/_sdk/schemas/v1_agent_status_body_request.py +3 -3
  127. polyaxon/_sdk/schemas/v1_analytics_spec.py +4 -4
  128. polyaxon/_sdk/schemas/v1_artifact_tree.py +3 -3
  129. polyaxon/_sdk/schemas/v1_auth.py +1 -1
  130. polyaxon/_sdk/schemas/v1_cloning.py +3 -3
  131. polyaxon/_sdk/schemas/v1_connection_response.py +9 -9
  132. polyaxon/_sdk/schemas/v1_dashboard.py +9 -9
  133. polyaxon/_sdk/schemas/v1_dashboard_spec.py +5 -5
  134. polyaxon/_sdk/schemas/v1_entities_tags.py +2 -2
  135. polyaxon/_sdk/schemas/v1_entities_transfer.py +2 -2
  136. polyaxon/_sdk/schemas/v1_entity_notification_body.py +7 -7
  137. polyaxon/_sdk/schemas/v1_entity_stage_body_request.py +5 -5
  138. polyaxon/_sdk/schemas/v1_entity_status_body_request.py +5 -5
  139. polyaxon/_sdk/schemas/v1_events_response.py +2 -2
  140. polyaxon/_sdk/schemas/v1_list_activities_response.py +4 -4
  141. polyaxon/_sdk/schemas/v1_list_agents_response.py +4 -4
  142. polyaxon/_sdk/schemas/v1_list_bookmarks_response.py +4 -4
  143. polyaxon/_sdk/schemas/v1_list_connections_response.py +4 -4
  144. polyaxon/_sdk/schemas/v1_list_dashboards_response.py +4 -4
  145. polyaxon/_sdk/schemas/v1_list_organization_members_response.py +4 -4
  146. polyaxon/_sdk/schemas/v1_list_organizations_response.py +4 -4
  147. polyaxon/_sdk/schemas/v1_list_presets_response.py +4 -4
  148. polyaxon/_sdk/schemas/v1_list_project_versions_response.py +4 -4
  149. polyaxon/_sdk/schemas/v1_list_projects_response.py +4 -4
  150. polyaxon/_sdk/schemas/v1_list_queues_response.py +4 -4
  151. polyaxon/_sdk/schemas/v1_list_run_artifacts_response.py +4 -4
  152. polyaxon/_sdk/schemas/v1_list_run_connections_response.py +4 -4
  153. polyaxon/_sdk/schemas/v1_list_run_edges_response.py +4 -4
  154. polyaxon/_sdk/schemas/v1_list_runs_response.py +4 -4
  155. polyaxon/_sdk/schemas/v1_list_searches_response.py +4 -4
  156. polyaxon/_sdk/schemas/v1_list_service_accounts_response.py +4 -4
  157. polyaxon/_sdk/schemas/v1_list_tags_response.py +4 -4
  158. polyaxon/_sdk/schemas/v1_list_team_members_response.py +4 -4
  159. polyaxon/_sdk/schemas/v1_list_teams_response.py +4 -4
  160. polyaxon/_sdk/schemas/v1_list_token_response.py +4 -4
  161. polyaxon/_sdk/schemas/v1_operation_body.py +8 -8
  162. polyaxon/_sdk/schemas/v1_organization.py +16 -16
  163. polyaxon/_sdk/schemas/v1_organization_member.py +6 -6
  164. polyaxon/_sdk/schemas/v1_password_change.py +3 -3
  165. polyaxon/_sdk/schemas/v1_pipeline.py +3 -3
  166. polyaxon/_sdk/schemas/v1_preset.py +11 -11
  167. polyaxon/_sdk/schemas/v1_project.py +17 -17
  168. polyaxon/_sdk/schemas/v1_project_settings.py +11 -11
  169. polyaxon/_sdk/schemas/v1_project_version.py +20 -20
  170. polyaxon/_sdk/schemas/v1_queue.py +12 -12
  171. polyaxon/_sdk/schemas/v1_run.py +38 -38
  172. polyaxon/_sdk/schemas/v1_run_connection.py +3 -3
  173. polyaxon/_sdk/schemas/v1_run_edge.py +5 -5
  174. polyaxon/_sdk/schemas/v1_run_edge_lineage.py +3 -3
  175. polyaxon/_sdk/schemas/v1_run_edges_graph.py +1 -1
  176. polyaxon/_sdk/schemas/v1_run_reference_catalog.py +4 -4
  177. polyaxon/_sdk/schemas/v1_run_settings.py +9 -9
  178. polyaxon/_sdk/schemas/v1_search.py +10 -10
  179. polyaxon/_sdk/schemas/v1_search_spec.py +14 -14
  180. polyaxon/_sdk/schemas/v1_section_spec.py +12 -12
  181. polyaxon/_sdk/schemas/v1_service_account.py +9 -9
  182. polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -4
  183. polyaxon/_sdk/schemas/v1_tag.py +6 -6
  184. polyaxon/_sdk/schemas/v1_team.py +11 -11
  185. polyaxon/_sdk/schemas/v1_team_member.py +6 -6
  186. polyaxon/_sdk/schemas/v1_team_settings.py +2 -2
  187. polyaxon/_sdk/schemas/v1_token.py +10 -10
  188. polyaxon/_sdk/schemas/v1_trial_start.py +6 -6
  189. polyaxon/_sdk/schemas/v1_user.py +6 -6
  190. polyaxon/_sdk/schemas/v1_user_access.py +7 -7
  191. polyaxon/_sdk/schemas/v1_user_email.py +1 -1
  192. polyaxon/_sdk/schemas/v1_user_singup.py +5 -5
  193. polyaxon/_sdk/schemas/v1_uuids.py +1 -1
  194. polyaxon/_utils/test_utils.py +2 -1
  195. polyaxon/pkg.py +1 -1
  196. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/METADATA +10 -10
  197. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/RECORD +201 -201
  198. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/LICENSE +0 -0
  199. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/WHEEL +0 -0
  200. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/entry_points.txt +0 -0
  201. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.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._sdk.base_api import BaseApi
7
7
  from polyaxon._sdk.schemas.v1_entities_tags import V1EntitiesTags
@@ -23,7 +23,7 @@ from polyaxon.exceptions import ApiTypeError
23
23
 
24
24
 
25
25
  class TeamsV1Api(BaseApi):
26
- @validate_arguments
26
+ @validate_call
27
27
  def create_team(
28
28
  self,
29
29
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -60,7 +60,7 @@ class TeamsV1Api(BaseApi):
60
60
  kwargs["_return_http_data_only"] = True
61
61
  return self.create_team_with_http_info(owner, body, **kwargs)
62
62
 
63
- @validate_arguments
63
+ @validate_call
64
64
  def create_team_with_http_info(
65
65
  self,
66
66
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -192,7 +192,7 @@ class TeamsV1Api(BaseApi):
192
192
  _request_auth=_params.get("_request_auth"),
193
193
  )
194
194
 
195
- @validate_arguments
195
+ @validate_call
196
196
  def create_team_member(
197
197
  self,
198
198
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -234,7 +234,7 @@ class TeamsV1Api(BaseApi):
234
234
  owner, team, body, **kwargs
235
235
  ) # noqa: E501
236
236
 
237
- @validate_arguments
237
+ @validate_call
238
238
  def create_team_member_with_http_info(
239
239
  self,
240
240
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -371,7 +371,7 @@ class TeamsV1Api(BaseApi):
371
371
  _request_auth=_params.get("_request_auth"),
372
372
  )
373
373
 
374
- @validate_arguments
374
+ @validate_call
375
375
  def delete_team(
376
376
  self,
377
377
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -408,7 +408,7 @@ class TeamsV1Api(BaseApi):
408
408
  kwargs["_return_http_data_only"] = True
409
409
  return self.delete_team_with_http_info(owner, name, **kwargs) # noqa: E501
410
410
 
411
- @validate_arguments
411
+ @validate_call
412
412
  def delete_team_with_http_info(
413
413
  self,
414
414
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -527,7 +527,7 @@ class TeamsV1Api(BaseApi):
527
527
  _request_auth=_params.get("_request_auth"),
528
528
  )
529
529
 
530
- @validate_arguments
530
+ @validate_call
531
531
  def delete_team_member(
532
532
  self,
533
533
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -569,7 +569,7 @@ class TeamsV1Api(BaseApi):
569
569
  owner, team, user, **kwargs
570
570
  ) # noqa: E501
571
571
 
572
- @validate_arguments
572
+ @validate_call
573
573
  def delete_team_member_with_http_info(
574
574
  self,
575
575
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -693,7 +693,7 @@ class TeamsV1Api(BaseApi):
693
693
  _request_auth=_params.get("_request_auth"),
694
694
  )
695
695
 
696
- @validate_arguments
696
+ @validate_call
697
697
  def delete_team_runs(
698
698
  self,
699
699
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -735,7 +735,7 @@ class TeamsV1Api(BaseApi):
735
735
  owner, name, body, **kwargs
736
736
  ) # noqa: E501
737
737
 
738
- @validate_arguments
738
+ @validate_call
739
739
  def delete_team_runs_with_http_info(
740
740
  self,
741
741
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -865,7 +865,7 @@ class TeamsV1Api(BaseApi):
865
865
  _request_auth=_params.get("_request_auth"),
866
866
  )
867
867
 
868
- @validate_arguments
868
+ @validate_call
869
869
  def get_team(
870
870
  self,
871
871
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -902,7 +902,7 @@ class TeamsV1Api(BaseApi):
902
902
  kwargs["_return_http_data_only"] = True
903
903
  return self.get_team_with_http_info(owner, name, **kwargs) # noqa: E501
904
904
 
905
- @validate_arguments
905
+ @validate_call
906
906
  def get_team_with_http_info(
907
907
  self,
908
908
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1026,7 +1026,7 @@ class TeamsV1Api(BaseApi):
1026
1026
  _request_auth=_params.get("_request_auth"),
1027
1027
  )
1028
1028
 
1029
- @validate_arguments
1029
+ @validate_call
1030
1030
  def get_team_activities(
1031
1031
  self,
1032
1032
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1098,7 +1098,7 @@ class TeamsV1Api(BaseApi):
1098
1098
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
1099
1099
  ) # noqa: E501
1100
1100
 
1101
- @validate_arguments
1101
+ @validate_call
1102
1102
  def get_team_activities_with_http_info(
1103
1103
  self,
1104
1104
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1283,7 +1283,7 @@ class TeamsV1Api(BaseApi):
1283
1283
  _request_auth=_params.get("_request_auth"),
1284
1284
  )
1285
1285
 
1286
- @validate_arguments
1286
+ @validate_call
1287
1287
  def get_team_member(
1288
1288
  self,
1289
1289
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1325,7 +1325,7 @@ class TeamsV1Api(BaseApi):
1325
1325
  owner, team, user, **kwargs
1326
1326
  ) # noqa: E501
1327
1327
 
1328
- @validate_arguments
1328
+ @validate_call
1329
1329
  def get_team_member_with_http_info(
1330
1330
  self,
1331
1331
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1454,7 +1454,7 @@ class TeamsV1Api(BaseApi):
1454
1454
  _request_auth=_params.get("_request_auth"),
1455
1455
  )
1456
1456
 
1457
- @validate_arguments
1457
+ @validate_call
1458
1458
  def get_team_run(
1459
1459
  self,
1460
1460
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1503,7 +1503,7 @@ class TeamsV1Api(BaseApi):
1503
1503
  owner, entity, uuid, **kwargs
1504
1504
  ) # noqa: E501
1505
1505
 
1506
- @validate_arguments
1506
+ @validate_call
1507
1507
  def get_team_run_with_http_info(
1508
1508
  self,
1509
1509
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1637,7 +1637,7 @@ class TeamsV1Api(BaseApi):
1637
1637
  _request_auth=_params.get("_request_auth"),
1638
1638
  )
1639
1639
 
1640
- @validate_arguments
1640
+ @validate_call
1641
1641
  def get_team_runs(
1642
1642
  self,
1643
1643
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1709,7 +1709,7 @@ class TeamsV1Api(BaseApi):
1709
1709
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
1710
1710
  ) # noqa: E501
1711
1711
 
1712
- @validate_arguments
1712
+ @validate_call
1713
1713
  def get_team_runs_with_http_info(
1714
1714
  self,
1715
1715
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1894,7 +1894,7 @@ class TeamsV1Api(BaseApi):
1894
1894
  _request_auth=_params.get("_request_auth"),
1895
1895
  )
1896
1896
 
1897
- @validate_arguments
1897
+ @validate_call
1898
1898
  def get_team_stats(
1899
1899
  self,
1900
1900
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1989,7 +1989,7 @@ class TeamsV1Api(BaseApi):
1989
1989
  **kwargs
1990
1990
  ) # noqa: E501
1991
1991
 
1992
- @validate_arguments
1992
+ @validate_call
1993
1993
  def get_team_stats_with_http_info(
1994
1994
  self,
1995
1995
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2197,7 +2197,7 @@ class TeamsV1Api(BaseApi):
2197
2197
  _request_auth=_params.get("_request_auth"),
2198
2198
  )
2199
2199
 
2200
- @validate_arguments
2200
+ @validate_call
2201
2201
  def get_team_versions(
2202
2202
  self,
2203
2203
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2262,7 +2262,7 @@ class TeamsV1Api(BaseApi):
2262
2262
  owner, entity, kind, offset, limit, sort, query, no_page, **kwargs
2263
2263
  ) # noqa: E501
2264
2264
 
2265
- @validate_arguments
2265
+ @validate_call
2266
2266
  def get_team_versions_with_http_info(
2267
2267
  self,
2268
2268
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2436,7 +2436,7 @@ class TeamsV1Api(BaseApi):
2436
2436
  _request_auth=_params.get("_request_auth"),
2437
2437
  )
2438
2438
 
2439
- @validate_arguments
2439
+ @validate_call
2440
2440
  def invalidate_team_runs(
2441
2441
  self,
2442
2442
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2478,7 +2478,7 @@ class TeamsV1Api(BaseApi):
2478
2478
  owner, name, body, **kwargs
2479
2479
  ) # noqa: E501
2480
2480
 
2481
- @validate_arguments
2481
+ @validate_call
2482
2482
  def invalidate_team_runs_with_http_info(
2483
2483
  self,
2484
2484
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2608,7 +2608,7 @@ class TeamsV1Api(BaseApi):
2608
2608
  _request_auth=_params.get("_request_auth"),
2609
2609
  )
2610
2610
 
2611
- @validate_arguments
2611
+ @validate_call
2612
2612
  def list_team_members(
2613
2613
  self,
2614
2614
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2680,7 +2680,7 @@ class TeamsV1Api(BaseApi):
2680
2680
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
2681
2681
  ) # noqa: E501
2682
2682
 
2683
- @validate_arguments
2683
+ @validate_call
2684
2684
  def list_team_members_with_http_info(
2685
2685
  self,
2686
2686
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2861,7 +2861,7 @@ class TeamsV1Api(BaseApi):
2861
2861
  _request_auth=_params.get("_request_auth"),
2862
2862
  )
2863
2863
 
2864
- @validate_arguments
2864
+ @validate_call
2865
2865
  def list_team_names(
2866
2866
  self,
2867
2867
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2928,7 +2928,7 @@ class TeamsV1Api(BaseApi):
2928
2928
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
2929
2929
  ) # noqa: E501
2930
2930
 
2931
- @validate_arguments
2931
+ @validate_call
2932
2932
  def list_team_names_with_http_info(
2933
2933
  self,
2934
2934
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3101,7 +3101,7 @@ class TeamsV1Api(BaseApi):
3101
3101
  _request_auth=_params.get("_request_auth"),
3102
3102
  )
3103
3103
 
3104
- @validate_arguments
3104
+ @validate_call
3105
3105
  def list_teams(
3106
3106
  self,
3107
3107
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3168,7 +3168,7 @@ class TeamsV1Api(BaseApi):
3168
3168
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
3169
3169
  ) # noqa: E501
3170
3170
 
3171
- @validate_arguments
3171
+ @validate_call
3172
3172
  def list_teams_with_http_info(
3173
3173
  self,
3174
3174
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3341,7 +3341,7 @@ class TeamsV1Api(BaseApi):
3341
3341
  _request_auth=_params.get("_request_auth"),
3342
3342
  )
3343
3343
 
3344
- @validate_arguments
3344
+ @validate_call
3345
3345
  def patch_team(
3346
3346
  self,
3347
3347
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3383,7 +3383,7 @@ class TeamsV1Api(BaseApi):
3383
3383
  owner, team_name, body, **kwargs
3384
3384
  ) # noqa: E501
3385
3385
 
3386
- @validate_arguments
3386
+ @validate_call
3387
3387
  def patch_team_with_http_info(
3388
3388
  self,
3389
3389
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3520,7 +3520,7 @@ class TeamsV1Api(BaseApi):
3520
3520
  _request_auth=_params.get("_request_auth"),
3521
3521
  )
3522
3522
 
3523
- @validate_arguments
3523
+ @validate_call
3524
3524
  def patch_team_member(
3525
3525
  self,
3526
3526
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3565,7 +3565,7 @@ class TeamsV1Api(BaseApi):
3565
3565
  owner, team, member_user, body, **kwargs
3566
3566
  ) # noqa: E501
3567
3567
 
3568
- @validate_arguments
3568
+ @validate_call
3569
3569
  def patch_team_member_with_http_info(
3570
3570
  self,
3571
3571
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3707,7 +3707,7 @@ class TeamsV1Api(BaseApi):
3707
3707
  _request_auth=_params.get("_request_auth"),
3708
3708
  )
3709
3709
 
3710
- @validate_arguments
3710
+ @validate_call
3711
3711
  def restore_team_runs(
3712
3712
  self,
3713
3713
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3749,7 +3749,7 @@ class TeamsV1Api(BaseApi):
3749
3749
  owner, name, body, **kwargs
3750
3750
  ) # noqa: E501
3751
3751
 
3752
- @validate_arguments
3752
+ @validate_call
3753
3753
  def restore_team_runs_with_http_info(
3754
3754
  self,
3755
3755
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3879,7 +3879,7 @@ class TeamsV1Api(BaseApi):
3879
3879
  _request_auth=_params.get("_request_auth"),
3880
3880
  )
3881
3881
 
3882
- @validate_arguments
3882
+ @validate_call
3883
3883
  def skip_team_runs(
3884
3884
  self,
3885
3885
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3921,7 +3921,7 @@ class TeamsV1Api(BaseApi):
3921
3921
  owner, name, body, **kwargs
3922
3922
  ) # noqa: E501
3923
3923
 
3924
- @validate_arguments
3924
+ @validate_call
3925
3925
  def skip_team_runs_with_http_info(
3926
3926
  self,
3927
3927
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4051,7 +4051,7 @@ class TeamsV1Api(BaseApi):
4051
4051
  _request_auth=_params.get("_request_auth"),
4052
4052
  )
4053
4053
 
4054
- @validate_arguments
4054
+ @validate_call
4055
4055
  def stop_team_runs(
4056
4056
  self,
4057
4057
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4093,7 +4093,7 @@ class TeamsV1Api(BaseApi):
4093
4093
  owner, name, body, **kwargs
4094
4094
  ) # noqa: E501
4095
4095
 
4096
- @validate_arguments
4096
+ @validate_call
4097
4097
  def stop_team_runs_with_http_info(
4098
4098
  self,
4099
4099
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4223,7 +4223,7 @@ class TeamsV1Api(BaseApi):
4223
4223
  _request_auth=_params.get("_request_auth"),
4224
4224
  )
4225
4225
 
4226
- @validate_arguments
4226
+ @validate_call
4227
4227
  def tag_team_runs(
4228
4228
  self,
4229
4229
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4265,7 +4265,7 @@ class TeamsV1Api(BaseApi):
4265
4265
  owner, name, body, **kwargs
4266
4266
  ) # noqa: E501
4267
4267
 
4268
- @validate_arguments
4268
+ @validate_call
4269
4269
  def tag_team_runs_with_http_info(
4270
4270
  self,
4271
4271
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4395,7 +4395,7 @@ class TeamsV1Api(BaseApi):
4395
4395
  _request_auth=_params.get("_request_auth"),
4396
4396
  )
4397
4397
 
4398
- @validate_arguments
4398
+ @validate_call
4399
4399
  def transfer_team_runs(
4400
4400
  self,
4401
4401
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4437,7 +4437,7 @@ class TeamsV1Api(BaseApi):
4437
4437
  owner, name, body, **kwargs
4438
4438
  ) # noqa: E501
4439
4439
 
4440
- @validate_arguments
4440
+ @validate_call
4441
4441
  def transfer_team_runs_with_http_info(
4442
4442
  self,
4443
4443
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4567,7 +4567,7 @@ class TeamsV1Api(BaseApi):
4567
4567
  _request_auth=_params.get("_request_auth"),
4568
4568
  )
4569
4569
 
4570
- @validate_arguments
4570
+ @validate_call
4571
4571
  def update_team(
4572
4572
  self,
4573
4573
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4609,7 +4609,7 @@ class TeamsV1Api(BaseApi):
4609
4609
  owner, team_name, body, **kwargs
4610
4610
  ) # noqa: E501
4611
4611
 
4612
- @validate_arguments
4612
+ @validate_call
4613
4613
  def update_team_with_http_info(
4614
4614
  self,
4615
4615
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4746,7 +4746,7 @@ class TeamsV1Api(BaseApi):
4746
4746
  _request_auth=_params.get("_request_auth"),
4747
4747
  )
4748
4748
 
4749
- @validate_arguments
4749
+ @validate_call
4750
4750
  def update_team_member(
4751
4751
  self,
4752
4752
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4791,7 +4791,7 @@ class TeamsV1Api(BaseApi):
4791
4791
  owner, team, member_user, body, **kwargs
4792
4792
  ) # noqa: E501
4793
4793
 
4794
- @validate_arguments
4794
+ @validate_call
4795
4795
  def update_team_member_with_http_info(
4796
4796
  self,
4797
4797
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -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._sdk.base_api import BaseApi
7
7
  from polyaxon._sdk.schemas.v1_list_activities_response import V1ListActivitiesResponse
@@ -12,7 +12,7 @@ from polyaxon.exceptions import ApiTypeError
12
12
 
13
13
 
14
14
  class UsersV1Api(BaseApi):
15
- @validate_arguments
15
+ @validate_call
16
16
  def create_token(
17
17
  self, body: Annotated[V1Token, Field(..., description="Token body")], **kwargs
18
18
  ) -> V1Token: # noqa: E501
@@ -44,7 +44,7 @@ class UsersV1Api(BaseApi):
44
44
  kwargs["_return_http_data_only"] = True
45
45
  return self.create_token_with_http_info(body, **kwargs) # noqa: E501
46
46
 
47
- @validate_arguments
47
+ @validate_call
48
48
  def create_token_with_http_info(
49
49
  self, body: Annotated[V1Token, Field(..., description="Token body")], **kwargs
50
50
  ): # noqa: E501
@@ -166,7 +166,7 @@ class UsersV1Api(BaseApi):
166
166
  _request_auth=_params.get("_request_auth"),
167
167
  )
168
168
 
169
- @validate_arguments
169
+ @validate_call
170
170
  def delete_token(
171
171
  self,
172
172
  uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
@@ -200,7 +200,7 @@ class UsersV1Api(BaseApi):
200
200
  kwargs["_return_http_data_only"] = True
201
201
  return self.delete_token_with_http_info(uuid, **kwargs) # noqa: E501
202
202
 
203
- @validate_arguments
203
+ @validate_call
204
204
  def delete_token_with_http_info(
205
205
  self,
206
206
  uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
@@ -310,7 +310,7 @@ class UsersV1Api(BaseApi):
310
310
  _request_auth=_params.get("_request_auth"),
311
311
  )
312
312
 
313
- @validate_arguments
313
+ @validate_call
314
314
  def get_history(
315
315
  self,
316
316
  offset: Annotated[
@@ -364,7 +364,7 @@ class UsersV1Api(BaseApi):
364
364
  offset, limit, sort, query, no_page, **kwargs
365
365
  ) # noqa: E501
366
366
 
367
- @validate_arguments
367
+ @validate_call
368
368
  def get_history_with_http_info(
369
369
  self,
370
370
  offset: Annotated[
@@ -510,7 +510,7 @@ class UsersV1Api(BaseApi):
510
510
  _request_auth=_params.get("_request_auth"),
511
511
  )
512
512
 
513
- @validate_arguments
513
+ @validate_call
514
514
  def get_suggestions(
515
515
  self,
516
516
  offset: Annotated[
@@ -564,7 +564,7 @@ class UsersV1Api(BaseApi):
564
564
  offset, limit, sort, query, no_page, **kwargs
565
565
  ) # noqa: E501
566
566
 
567
- @validate_arguments
567
+ @validate_call
568
568
  def get_suggestions_with_http_info(
569
569
  self,
570
570
  offset: Annotated[
@@ -710,7 +710,7 @@ class UsersV1Api(BaseApi):
710
710
  _request_auth=_params.get("_request_auth"),
711
711
  )
712
712
 
713
- @validate_arguments
713
+ @validate_call
714
714
  def get_token(
715
715
  self,
716
716
  uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
@@ -744,7 +744,7 @@ class UsersV1Api(BaseApi):
744
744
  kwargs["_return_http_data_only"] = True
745
745
  return self.get_token_with_http_info(uuid, **kwargs) # noqa: E501
746
746
 
747
- @validate_arguments
747
+ @validate_call
748
748
  def get_token_with_http_info(
749
749
  self,
750
750
  uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
@@ -859,7 +859,7 @@ class UsersV1Api(BaseApi):
859
859
  _request_auth=_params.get("_request_auth"),
860
860
  )
861
861
 
862
- @validate_arguments
862
+ @validate_call
863
863
  def get_user(self, **kwargs) -> V1User: # noqa: E501
864
864
  """Get current user # noqa: E501
865
865
 
@@ -887,7 +887,7 @@ class UsersV1Api(BaseApi):
887
887
  kwargs["_return_http_data_only"] = True
888
888
  return self.get_user_with_http_info(**kwargs) # noqa: E501
889
889
 
890
- @validate_arguments
890
+ @validate_call
891
891
  def get_user_with_http_info(self, **kwargs): # noqa: E501
892
892
  """Get current user # noqa: E501
893
893
 
@@ -994,7 +994,7 @@ class UsersV1Api(BaseApi):
994
994
  _request_auth=_params.get("_request_auth"),
995
995
  )
996
996
 
997
- @validate_arguments
997
+ @validate_call
998
998
  def get_workspaces(
999
999
  self,
1000
1000
  offset: Annotated[
@@ -1048,7 +1048,7 @@ class UsersV1Api(BaseApi):
1048
1048
  offset, limit, sort, query, no_page, **kwargs
1049
1049
  ) # noqa: E501
1050
1050
 
1051
- @validate_arguments
1051
+ @validate_call
1052
1052
  def get_workspaces_with_http_info(
1053
1053
  self,
1054
1054
  offset: Annotated[
@@ -1194,7 +1194,7 @@ class UsersV1Api(BaseApi):
1194
1194
  _request_auth=_params.get("_request_auth"),
1195
1195
  )
1196
1196
 
1197
- @validate_arguments
1197
+ @validate_call
1198
1198
  def list_tokens(
1199
1199
  self,
1200
1200
  offset: Annotated[
@@ -1248,7 +1248,7 @@ class UsersV1Api(BaseApi):
1248
1248
  offset, limit, sort, query, no_page, **kwargs
1249
1249
  ) # noqa: E501
1250
1250
 
1251
- @validate_arguments
1251
+ @validate_call
1252
1252
  def list_tokens_with_http_info(
1253
1253
  self,
1254
1254
  offset: Annotated[
@@ -1394,7 +1394,7 @@ class UsersV1Api(BaseApi):
1394
1394
  _request_auth=_params.get("_request_auth"),
1395
1395
  )
1396
1396
 
1397
- @validate_arguments
1397
+ @validate_call
1398
1398
  def patch_token(
1399
1399
  self,
1400
1400
  token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
@@ -1431,7 +1431,7 @@ class UsersV1Api(BaseApi):
1431
1431
  kwargs["_return_http_data_only"] = True
1432
1432
  return self.patch_token_with_http_info(token_uuid, body, **kwargs) # noqa: E501
1433
1433
 
1434
- @validate_arguments
1434
+ @validate_call
1435
1435
  def patch_token_with_http_info(
1436
1436
  self,
1437
1437
  token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
@@ -1560,7 +1560,7 @@ class UsersV1Api(BaseApi):
1560
1560
  _request_auth=_params.get("_request_auth"),
1561
1561
  )
1562
1562
 
1563
- @validate_arguments
1563
+ @validate_call
1564
1564
  def patch_user(self, body: V1User, **kwargs) -> V1User: # noqa: E501
1565
1565
  """Patch current user # noqa: E501
1566
1566
 
@@ -1590,7 +1590,7 @@ class UsersV1Api(BaseApi):
1590
1590
  kwargs["_return_http_data_only"] = True
1591
1591
  return self.patch_user_with_http_info(body, **kwargs) # noqa: E501
1592
1592
 
1593
- @validate_arguments
1593
+ @validate_call
1594
1594
  def patch_user_with_http_info(self, body: V1User, **kwargs): # noqa: E501
1595
1595
  """Patch current user # noqa: E501
1596
1596
 
@@ -1710,7 +1710,7 @@ class UsersV1Api(BaseApi):
1710
1710
  _request_auth=_params.get("_request_auth"),
1711
1711
  )
1712
1712
 
1713
- @validate_arguments
1713
+ @validate_call
1714
1714
  def update_token(
1715
1715
  self,
1716
1716
  token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
@@ -1749,7 +1749,7 @@ class UsersV1Api(BaseApi):
1749
1749
  token_uuid, body, **kwargs
1750
1750
  ) # noqa: E501
1751
1751
 
1752
- @validate_arguments
1752
+ @validate_call
1753
1753
  def update_token_with_http_info(
1754
1754
  self,
1755
1755
  token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
@@ -1878,7 +1878,7 @@ class UsersV1Api(BaseApi):
1878
1878
  _request_auth=_params.get("_request_auth"),
1879
1879
  )
1880
1880
 
1881
- @validate_arguments
1881
+ @validate_call
1882
1882
  def update_user(self, body: V1User, **kwargs) -> V1User: # noqa: E501
1883
1883
  """Update current user # noqa: E501
1884
1884
 
@@ -1908,7 +1908,7 @@ class UsersV1Api(BaseApi):
1908
1908
  kwargs["_return_http_data_only"] = True
1909
1909
  return self.update_user_with_http_info(body, **kwargs) # noqa: E501
1910
1910
 
1911
- @validate_arguments
1911
+ @validate_call
1912
1912
  def update_user_with_http_info(self, body: V1User, **kwargs): # noqa: E501
1913
1913
  """Update current user # noqa: E501
1914
1914