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_list_searches_response import V1ListSearchesResponse
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
10
10
 
11
11
 
12
12
  class SearchesV1Api(BaseApi):
13
- @validate_arguments
13
+ @validate_call
14
14
  def create_search(
15
15
  self,
16
16
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -47,7 +47,7 @@ class SearchesV1Api(BaseApi):
47
47
  kwargs["_return_http_data_only"] = True
48
48
  return self.create_search_with_http_info(owner, body, **kwargs)
49
49
 
50
- @validate_arguments
50
+ @validate_call
51
51
  def create_search_with_http_info(
52
52
  self,
53
53
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -179,7 +179,7 @@ class SearchesV1Api(BaseApi):
179
179
  _request_auth=_params.get("_request_auth"),
180
180
  )
181
181
 
182
- @validate_arguments
182
+ @validate_call
183
183
  def delete_search(
184
184
  self,
185
185
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -218,7 +218,7 @@ class SearchesV1Api(BaseApi):
218
218
  kwargs["_return_http_data_only"] = True
219
219
  return self.delete_search_with_http_info(owner, uuid, **kwargs) # noqa: E501
220
220
 
221
- @validate_arguments
221
+ @validate_call
222
222
  def delete_search_with_http_info(
223
223
  self,
224
224
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -339,7 +339,7 @@ class SearchesV1Api(BaseApi):
339
339
  _request_auth=_params.get("_request_auth"),
340
340
  )
341
341
 
342
- @validate_arguments
342
+ @validate_call
343
343
  def get_search(
344
344
  self,
345
345
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -378,7 +378,7 @@ class SearchesV1Api(BaseApi):
378
378
  kwargs["_return_http_data_only"] = True
379
379
  return self.get_search_with_http_info(owner, uuid, **kwargs) # noqa: E501
380
380
 
381
- @validate_arguments
381
+ @validate_call
382
382
  def get_search_with_http_info(
383
383
  self,
384
384
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -504,7 +504,7 @@ class SearchesV1Api(BaseApi):
504
504
  _request_auth=_params.get("_request_auth"),
505
505
  )
506
506
 
507
- @validate_arguments
507
+ @validate_call
508
508
  def list_search_names(
509
509
  self,
510
510
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -571,7 +571,7 @@ class SearchesV1Api(BaseApi):
571
571
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
572
572
  ) # noqa: E501
573
573
 
574
- @validate_arguments
574
+ @validate_call
575
575
  def list_search_names_with_http_info(
576
576
  self,
577
577
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -744,7 +744,7 @@ class SearchesV1Api(BaseApi):
744
744
  _request_auth=_params.get("_request_auth"),
745
745
  )
746
746
 
747
- @validate_arguments
747
+ @validate_call
748
748
  def list_searches(
749
749
  self,
750
750
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -811,7 +811,7 @@ class SearchesV1Api(BaseApi):
811
811
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
812
812
  ) # noqa: E501
813
813
 
814
- @validate_arguments
814
+ @validate_call
815
815
  def list_searches_with_http_info(
816
816
  self,
817
817
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -984,7 +984,7 @@ class SearchesV1Api(BaseApi):
984
984
  _request_auth=_params.get("_request_auth"),
985
985
  )
986
986
 
987
- @validate_arguments
987
+ @validate_call
988
988
  def patch_search(
989
989
  self,
990
990
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1026,7 +1026,7 @@ class SearchesV1Api(BaseApi):
1026
1026
  owner, search_uuid, body, **kwargs
1027
1027
  ) # noqa: E501
1028
1028
 
1029
- @validate_arguments
1029
+ @validate_call
1030
1030
  def patch_search_with_http_info(
1031
1031
  self,
1032
1032
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1163,7 +1163,7 @@ class SearchesV1Api(BaseApi):
1163
1163
  _request_auth=_params.get("_request_auth"),
1164
1164
  )
1165
1165
 
1166
- @validate_arguments
1166
+ @validate_call
1167
1167
  def update_search(
1168
1168
  self,
1169
1169
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1205,7 +1205,7 @@ class SearchesV1Api(BaseApi):
1205
1205
  owner, search_uuid, body, **kwargs
1206
1206
  ) # noqa: E501
1207
1207
 
1208
- @validate_arguments
1208
+ @validate_call
1209
1209
  def update_search_with_http_info(
1210
1210
  self,
1211
1211
  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_service_accounts_response import (
@@ -14,7 +14,7 @@ from polyaxon.exceptions import ApiTypeError
14
14
 
15
15
 
16
16
  class ServiceAccountsV1Api(BaseApi):
17
- @validate_arguments
17
+ @validate_call
18
18
  def create_service_account(
19
19
  self,
20
20
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -55,7 +55,7 @@ class ServiceAccountsV1Api(BaseApi):
55
55
  owner, body, **kwargs
56
56
  ) # noqa: E501
57
57
 
58
- @validate_arguments
58
+ @validate_call
59
59
  def create_service_account_with_http_info(
60
60
  self,
61
61
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -189,7 +189,7 @@ class ServiceAccountsV1Api(BaseApi):
189
189
  _request_auth=_params.get("_request_auth"),
190
190
  )
191
191
 
192
- @validate_arguments
192
+ @validate_call
193
193
  def create_service_account_token(
194
194
  self,
195
195
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -231,7 +231,7 @@ class ServiceAccountsV1Api(BaseApi):
231
231
  owner, entity, body, **kwargs
232
232
  ) # noqa: E501
233
233
 
234
- @validate_arguments
234
+ @validate_call
235
235
  def create_service_account_token_with_http_info(
236
236
  self,
237
237
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -368,7 +368,7 @@ class ServiceAccountsV1Api(BaseApi):
368
368
  _request_auth=_params.get("_request_auth"),
369
369
  )
370
370
 
371
- @validate_arguments
371
+ @validate_call
372
372
  def delete_service_account(
373
373
  self,
374
374
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -409,7 +409,7 @@ class ServiceAccountsV1Api(BaseApi):
409
409
  owner, uuid, **kwargs
410
410
  ) # noqa: E501
411
411
 
412
- @validate_arguments
412
+ @validate_call
413
413
  def delete_service_account_with_http_info(
414
414
  self,
415
415
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -530,7 +530,7 @@ class ServiceAccountsV1Api(BaseApi):
530
530
  _request_auth=_params.get("_request_auth"),
531
531
  )
532
532
 
533
- @validate_arguments
533
+ @validate_call
534
534
  def delete_service_account_token(
535
535
  self,
536
536
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -579,7 +579,7 @@ class ServiceAccountsV1Api(BaseApi):
579
579
  owner, entity, uuid, **kwargs
580
580
  ) # noqa: E501
581
581
 
582
- @validate_arguments
582
+ @validate_call
583
583
  def delete_service_account_token_with_http_info(
584
584
  self,
585
585
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -710,7 +710,7 @@ class ServiceAccountsV1Api(BaseApi):
710
710
  _request_auth=_params.get("_request_auth"),
711
711
  )
712
712
 
713
- @validate_arguments
713
+ @validate_call
714
714
  def get_service_account(
715
715
  self,
716
716
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -751,7 +751,7 @@ class ServiceAccountsV1Api(BaseApi):
751
751
  owner, uuid, **kwargs
752
752
  ) # noqa: E501
753
753
 
754
- @validate_arguments
754
+ @validate_call
755
755
  def get_service_account_with_http_info(
756
756
  self,
757
757
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -877,7 +877,7 @@ class ServiceAccountsV1Api(BaseApi):
877
877
  _request_auth=_params.get("_request_auth"),
878
878
  )
879
879
 
880
- @validate_arguments
880
+ @validate_call
881
881
  def get_service_account_token(
882
882
  self,
883
883
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -926,7 +926,7 @@ class ServiceAccountsV1Api(BaseApi):
926
926
  owner, entity, uuid, **kwargs
927
927
  ) # noqa: E501
928
928
 
929
- @validate_arguments
929
+ @validate_call
930
930
  def get_service_account_token_with_http_info(
931
931
  self,
932
932
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1062,7 +1062,7 @@ class ServiceAccountsV1Api(BaseApi):
1062
1062
  _request_auth=_params.get("_request_auth"),
1063
1063
  )
1064
1064
 
1065
- @validate_arguments
1065
+ @validate_call
1066
1066
  def list_service_account_names(
1067
1067
  self,
1068
1068
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1129,7 +1129,7 @@ class ServiceAccountsV1Api(BaseApi):
1129
1129
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
1130
1130
  ) # noqa: E501
1131
1131
 
1132
- @validate_arguments
1132
+ @validate_call
1133
1133
  def list_service_account_names_with_http_info(
1134
1134
  self,
1135
1135
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1302,7 +1302,7 @@ class ServiceAccountsV1Api(BaseApi):
1302
1302
  _request_auth=_params.get("_request_auth"),
1303
1303
  )
1304
1304
 
1305
- @validate_arguments
1305
+ @validate_call
1306
1306
  def list_service_account_tokens(
1307
1307
  self,
1308
1308
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1367,7 +1367,7 @@ class ServiceAccountsV1Api(BaseApi):
1367
1367
  owner, uuid, entity, offset, limit, sort, query, no_page, **kwargs
1368
1368
  ) # noqa: E501
1369
1369
 
1370
- @validate_arguments
1370
+ @validate_call
1371
1371
  def list_service_account_tokens_with_http_info(
1372
1372
  self,
1373
1373
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1538,7 +1538,7 @@ class ServiceAccountsV1Api(BaseApi):
1538
1538
  _request_auth=_params.get("_request_auth"),
1539
1539
  )
1540
1540
 
1541
- @validate_arguments
1541
+ @validate_call
1542
1542
  def list_service_accounts(
1543
1543
  self,
1544
1544
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1605,7 +1605,7 @@ class ServiceAccountsV1Api(BaseApi):
1605
1605
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
1606
1606
  ) # noqa: E501
1607
1607
 
1608
- @validate_arguments
1608
+ @validate_call
1609
1609
  def list_service_accounts_with_http_info(
1610
1610
  self,
1611
1611
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1778,7 +1778,7 @@ class ServiceAccountsV1Api(BaseApi):
1778
1778
  _request_auth=_params.get("_request_auth"),
1779
1779
  )
1780
1780
 
1781
- @validate_arguments
1781
+ @validate_call
1782
1782
  def patch_service_account(
1783
1783
  self,
1784
1784
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1822,7 +1822,7 @@ class ServiceAccountsV1Api(BaseApi):
1822
1822
  owner, sa_uuid, body, **kwargs
1823
1823
  ) # noqa: E501
1824
1824
 
1825
- @validate_arguments
1825
+ @validate_call
1826
1826
  def patch_service_account_with_http_info(
1827
1827
  self,
1828
1828
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1961,7 +1961,7 @@ class ServiceAccountsV1Api(BaseApi):
1961
1961
  _request_auth=_params.get("_request_auth"),
1962
1962
  )
1963
1963
 
1964
- @validate_arguments
1964
+ @validate_call
1965
1965
  def patch_service_account_token(
1966
1966
  self,
1967
1967
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2006,7 +2006,7 @@ class ServiceAccountsV1Api(BaseApi):
2006
2006
  owner, entity, token_uuid, body, **kwargs
2007
2007
  ) # noqa: E501
2008
2008
 
2009
- @validate_arguments
2009
+ @validate_call
2010
2010
  def patch_service_account_token_with_http_info(
2011
2011
  self,
2012
2012
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2148,7 +2148,7 @@ class ServiceAccountsV1Api(BaseApi):
2148
2148
  _request_auth=_params.get("_request_auth"),
2149
2149
  )
2150
2150
 
2151
- @validate_arguments
2151
+ @validate_call
2152
2152
  def update_service_account(
2153
2153
  self,
2154
2154
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2192,7 +2192,7 @@ class ServiceAccountsV1Api(BaseApi):
2192
2192
  owner, sa_uuid, body, **kwargs
2193
2193
  ) # noqa: E501
2194
2194
 
2195
- @validate_arguments
2195
+ @validate_call
2196
2196
  def update_service_account_with_http_info(
2197
2197
  self,
2198
2198
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2331,7 +2331,7 @@ class ServiceAccountsV1Api(BaseApi):
2331
2331
  _request_auth=_params.get("_request_auth"),
2332
2332
  )
2333
2333
 
2334
- @validate_arguments
2334
+ @validate_call
2335
2335
  def update_service_account_token(
2336
2336
  self,
2337
2337
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2376,7 +2376,7 @@ class ServiceAccountsV1Api(BaseApi):
2376
2376
  owner, entity, token_uuid, body, **kwargs
2377
2377
  ) # noqa: E501
2378
2378
 
2379
- @validate_arguments
2379
+ @validate_call
2380
2380
  def update_service_account_token_with_http_info(
2381
2381
  self,
2382
2382
  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_entities_tags import V1EntitiesTags
@@ -11,7 +11,7 @@ from polyaxon.exceptions import ApiTypeError
11
11
 
12
12
 
13
13
  class TagsV1Api(BaseApi):
14
- @validate_arguments
14
+ @validate_call
15
15
  def create_tag(
16
16
  self,
17
17
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -48,7 +48,7 @@ class TagsV1Api(BaseApi):
48
48
  kwargs["_return_http_data_only"] = True
49
49
  return self.create_tag_with_http_info(owner, body, **kwargs) # noqa: E501
50
50
 
51
- @validate_arguments
51
+ @validate_call
52
52
  def create_tag_with_http_info(
53
53
  self,
54
54
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -180,7 +180,7 @@ class TagsV1Api(BaseApi):
180
180
  _request_auth=_params.get("_request_auth"),
181
181
  )
182
182
 
183
- @validate_arguments
183
+ @validate_call
184
184
  def delete_tag(
185
185
  self,
186
186
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -226,7 +226,7 @@ class TagsV1Api(BaseApi):
226
226
  owner, uuid, cascade, **kwargs
227
227
  ) # noqa: E501
228
228
 
229
- @validate_arguments
229
+ @validate_call
230
230
  def delete_tag_with_http_info(
231
231
  self,
232
232
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -354,7 +354,7 @@ class TagsV1Api(BaseApi):
354
354
  _request_auth=_params.get("_request_auth"),
355
355
  )
356
356
 
357
- @validate_arguments
357
+ @validate_call
358
358
  def get_tag(
359
359
  self,
360
360
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -393,7 +393,7 @@ class TagsV1Api(BaseApi):
393
393
  kwargs["_return_http_data_only"] = True
394
394
  return self.get_tag_with_http_info(owner, uuid, **kwargs) # noqa: E501
395
395
 
396
- @validate_arguments
396
+ @validate_call
397
397
  def get_tag_with_http_info(
398
398
  self,
399
399
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -519,7 +519,7 @@ class TagsV1Api(BaseApi):
519
519
  _request_auth=_params.get("_request_auth"),
520
520
  )
521
521
 
522
- @validate_arguments
522
+ @validate_call
523
523
  def list_tags(
524
524
  self,
525
525
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -586,7 +586,7 @@ class TagsV1Api(BaseApi):
586
586
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
587
587
  ) # noqa: E501
588
588
 
589
- @validate_arguments
589
+ @validate_call
590
590
  def list_tags_with_http_info(
591
591
  self,
592
592
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -759,7 +759,7 @@ class TagsV1Api(BaseApi):
759
759
  _request_auth=_params.get("_request_auth"),
760
760
  )
761
761
 
762
- @validate_arguments
762
+ @validate_call
763
763
  def load_tags(
764
764
  self,
765
765
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -826,7 +826,7 @@ class TagsV1Api(BaseApi):
826
826
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
827
827
  ) # noqa: E501
828
828
 
829
- @validate_arguments
829
+ @validate_call
830
830
  def load_tags_with_http_info(
831
831
  self,
832
832
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -999,7 +999,7 @@ class TagsV1Api(BaseApi):
999
999
  _request_auth=_params.get("_request_auth"),
1000
1000
  )
1001
1001
 
1002
- @validate_arguments
1002
+ @validate_call
1003
1003
  def patch_tag(
1004
1004
  self,
1005
1005
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1041,7 +1041,7 @@ class TagsV1Api(BaseApi):
1041
1041
  owner, tag_uuid, body, **kwargs
1042
1042
  ) # noqa: E501
1043
1043
 
1044
- @validate_arguments
1044
+ @validate_call
1045
1045
  def patch_tag_with_http_info(
1046
1046
  self,
1047
1047
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1178,7 +1178,7 @@ class TagsV1Api(BaseApi):
1178
1178
  _request_auth=_params.get("_request_auth"),
1179
1179
  )
1180
1180
 
1181
- @validate_arguments
1181
+ @validate_call
1182
1182
  def sync_tags(
1183
1183
  self,
1184
1184
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1215,7 +1215,7 @@ class TagsV1Api(BaseApi):
1215
1215
  kwargs["_return_http_data_only"] = True
1216
1216
  return self.sync_tags_with_http_info(owner, body, **kwargs) # noqa: E501
1217
1217
 
1218
- @validate_arguments
1218
+ @validate_call
1219
1219
  def sync_tags_with_http_info(
1220
1220
  self,
1221
1221
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1342,7 +1342,7 @@ class TagsV1Api(BaseApi):
1342
1342
  _request_auth=_params.get("_request_auth"),
1343
1343
  )
1344
1344
 
1345
- @validate_arguments
1345
+ @validate_call
1346
1346
  def update_tag(
1347
1347
  self,
1348
1348
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1384,7 +1384,7 @@ class TagsV1Api(BaseApi):
1384
1384
  owner, tag_uuid, body, **kwargs
1385
1385
  ) # noqa: E501
1386
1386
 
1387
- @validate_arguments
1387
+ @validate_call
1388
1388
  def update_tag_with_http_info(
1389
1389
  self,
1390
1390
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],