polyaxon-sdk 2.1.0rc2__py2.py3-none-any.whl → 2.1.0rc4__py2.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 (260) hide show
  1. polyaxon_sdk/__init__.py +4 -2
  2. polyaxon_sdk/api/agents_v1_api.py +23 -8
  3. polyaxon_sdk/api/artifacts_stores_v1_api.py +1 -1
  4. polyaxon_sdk/api/auth_v1_api.py +1 -1
  5. polyaxon_sdk/api/connections_v1_api.py +1 -1
  6. polyaxon_sdk/api/dashboards_v1_api.py +1 -1
  7. polyaxon_sdk/api/organizations_v1_api.py +1 -1
  8. polyaxon_sdk/api/presets_v1_api.py +1 -1
  9. polyaxon_sdk/api/project_dashboards_v1_api.py +1 -1
  10. polyaxon_sdk/api/project_searches_v1_api.py +1 -1
  11. polyaxon_sdk/api/projects_v1_api.py +1 -1
  12. polyaxon_sdk/api/queues_v1_api.py +1 -1
  13. polyaxon_sdk/api/runs_v1_api.py +1 -1
  14. polyaxon_sdk/api/schemas_v1_api.py +1 -1
  15. polyaxon_sdk/api/searches_v1_api.py +1 -1
  16. polyaxon_sdk/api/service_accounts_v1_api.py +1 -1
  17. polyaxon_sdk/api/tags_v1_api.py +1 -1
  18. polyaxon_sdk/api/teams_v1_api.py +1 -1
  19. polyaxon_sdk/api/users_v1_api.py +1 -1
  20. polyaxon_sdk/api/versions_v1_api.py +1 -1
  21. polyaxon_sdk/api_client.py +2 -2
  22. polyaxon_sdk/configuration.py +3 -3
  23. polyaxon_sdk/exceptions.py +1 -1
  24. polyaxon_sdk/models/__init__.py +3 -1
  25. polyaxon_sdk/models/agent_state_response_agent_state.py +1 -1
  26. polyaxon_sdk/models/mx_job_mode.py +1 -1
  27. polyaxon_sdk/models/protobuf_any.py +1 -1
  28. polyaxon_sdk/models/protobuf_null_value.py +1 -1
  29. polyaxon_sdk/models/runtime_error.py +1 -1
  30. polyaxon_sdk/models/search_view.py +1 -1
  31. polyaxon_sdk/models/v1_activity.py +1 -1
  32. polyaxon_sdk/models/v1_agent.py +1 -1
  33. polyaxon_sdk/models/v1_agent_state_response.py +1 -1
  34. polyaxon_sdk/models/v1_agent_status_body_request.py +1 -1
  35. polyaxon_sdk/models/v1_analytics_spec.py +1 -1
  36. polyaxon_sdk/models/v1_artifact_kind.py +1 -1
  37. polyaxon_sdk/models/v1_artifact_tree.py +1 -1
  38. polyaxon_sdk/models/v1_artifacts_mount.py +1 -1
  39. polyaxon_sdk/models/v1_artifacts_type.py +1 -1
  40. polyaxon_sdk/models/v1_auth.py +1 -1
  41. polyaxon_sdk/models/v1_auth_type.py +1 -1
  42. polyaxon_sdk/models/v1_average_stopping_policy.py +1 -1
  43. polyaxon_sdk/models/v1_bayes.py +1 -1
  44. polyaxon_sdk/models/v1_bucket_connection.py +1 -1
  45. polyaxon_sdk/models/v1_build.py +1 -1
  46. polyaxon_sdk/models/v1_cache.py +1 -1
  47. polyaxon_sdk/models/v1_claim_connection.py +1 -1
  48. polyaxon_sdk/models/v1_clean_pod_policy.py +1 -1
  49. polyaxon_sdk/models/v1_cloning.py +1 -1
  50. polyaxon_sdk/models/v1_cloning_kind.py +1 -1
  51. polyaxon_sdk/models/v1_compatibility.py +1 -1
  52. polyaxon_sdk/models/v1_compiled_operation.py +1 -1
  53. polyaxon_sdk/models/v1_component.py +1 -1
  54. polyaxon_sdk/models/v1_connection_kind.py +1 -1
  55. polyaxon_sdk/models/v1_connection_resource.py +1 -1
  56. polyaxon_sdk/models/v1_connection_response.py +1 -1
  57. polyaxon_sdk/models/v1_connection_schema.py +1 -1
  58. polyaxon_sdk/models/v1_connection_type.py +1 -1
  59. polyaxon_sdk/models/v1_credentials.py +1 -1
  60. polyaxon_sdk/models/v1_cron_schedule.py +1 -1
  61. polyaxon_sdk/models/v1_dag.py +1 -1
  62. polyaxon_sdk/models/v1_dag_ref.py +1 -1
  63. polyaxon_sdk/models/v1_dashboard.py +1 -1
  64. polyaxon_sdk/models/v1_dashboard_spec.py +1 -1
  65. polyaxon_sdk/models/v1_dask_job.py +1 -1
  66. polyaxon_sdk/models/v1_dask_replica.py +1 -1
  67. polyaxon_sdk/models/v1_date_time_schedule.py +1 -1
  68. polyaxon_sdk/models/v1_diff_stopping_policy.py +1 -1
  69. polyaxon_sdk/models/v1_dockerfile_type.py +1 -1
  70. polyaxon_sdk/models/v1_early_stopping.py +1 -1
  71. polyaxon_sdk/models/v1_entities_tags.py +1 -1
  72. polyaxon_sdk/models/v1_entities_transfer.py +1 -1
  73. polyaxon_sdk/models/v1_entity_notification_body.py +1 -1
  74. polyaxon_sdk/models/v1_entity_stage_body_request.py +1 -1
  75. polyaxon_sdk/models/v1_entity_status_body_request.py +1 -1
  76. polyaxon_sdk/models/v1_environment.py +1 -1
  77. polyaxon_sdk/models/v1_event.py +1 -1
  78. polyaxon_sdk/models/v1_event_artifact.py +1 -1
  79. polyaxon_sdk/models/v1_event_audio.py +1 -1
  80. polyaxon_sdk/models/v1_event_chart.py +1 -1
  81. polyaxon_sdk/models/v1_event_chart_kind.py +1 -1
  82. polyaxon_sdk/models/v1_event_confusion_matrix.py +1 -1
  83. polyaxon_sdk/models/v1_event_curve.py +1 -1
  84. polyaxon_sdk/models/v1_event_curve_kind.py +1 -1
  85. polyaxon_sdk/models/v1_event_dataframe.py +1 -1
  86. polyaxon_sdk/models/v1_event_histogram.py +1 -1
  87. polyaxon_sdk/models/v1_event_image.py +1 -1
  88. polyaxon_sdk/models/v1_event_kind.py +1 -1
  89. polyaxon_sdk/models/v1_event_model.py +1 -1
  90. polyaxon_sdk/models/v1_event_span.py +1 -1
  91. polyaxon_sdk/models/v1_event_span_kind.py +1 -1
  92. polyaxon_sdk/models/v1_event_trigger.py +1 -1
  93. polyaxon_sdk/models/v1_event_type.py +1 -1
  94. polyaxon_sdk/models/v1_event_video.py +1 -1
  95. polyaxon_sdk/models/v1_events_response.py +1 -1
  96. polyaxon_sdk/models/v1_failure_early_stopping.py +1 -1
  97. polyaxon_sdk/models/v1_file_type.py +1 -1
  98. polyaxon_sdk/models/v1_gcs_type.py +1 -1
  99. polyaxon_sdk/models/v1_git_connection.py +1 -1
  100. polyaxon_sdk/models/v1_git_type.py +1 -1
  101. polyaxon_sdk/models/v1_grid_search.py +1 -1
  102. polyaxon_sdk/models/v1_hook.py +1 -1
  103. polyaxon_sdk/models/v1_host_connection.py +1 -1
  104. polyaxon_sdk/models/v1_host_path_connection.py +1 -1
  105. polyaxon_sdk/models/v1_hp_choice.py +1 -1
  106. polyaxon_sdk/models/v1_hp_date_range.py +1 -1
  107. polyaxon_sdk/models/v1_hp_date_time_range.py +1 -1
  108. polyaxon_sdk/models/v1_hp_geom_space.py +1 -1
  109. polyaxon_sdk/models/v1_hp_lin_space.py +1 -1
  110. polyaxon_sdk/models/v1_hp_log_normal.py +1 -1
  111. polyaxon_sdk/models/v1_hp_log_space.py +1 -1
  112. polyaxon_sdk/models/v1_hp_log_uniform.py +1 -1
  113. polyaxon_sdk/models/v1_hp_normal.py +1 -1
  114. polyaxon_sdk/models/v1_hp_p_choice.py +1 -1
  115. polyaxon_sdk/models/v1_hp_params.py +1 -1
  116. polyaxon_sdk/models/v1_hp_q_log_normal.py +1 -1
  117. polyaxon_sdk/models/v1_hp_q_log_uniform.py +1 -1
  118. polyaxon_sdk/models/v1_hp_q_normal.py +1 -1
  119. polyaxon_sdk/models/v1_hp_q_uniform.py +1 -1
  120. polyaxon_sdk/models/v1_hp_range.py +1 -1
  121. polyaxon_sdk/models/v1_hp_uniform.py +1 -1
  122. polyaxon_sdk/models/v1_hub_ref.py +1 -1
  123. polyaxon_sdk/models/v1_hyperband.py +1 -1
  124. polyaxon_sdk/models/v1_hyperopt.py +1 -1
  125. polyaxon_sdk/models/v1_hyperopt_algorithms.py +1 -1
  126. polyaxon_sdk/models/v1_init.py +1 -1
  127. polyaxon_sdk/models/v1_installation.py +1 -1
  128. polyaxon_sdk/models/v1_interval_schedule.py +1 -1
  129. polyaxon_sdk/models/v1_io.py +1 -1
  130. polyaxon_sdk/models/v1_iterative.py +1 -1
  131. polyaxon_sdk/models/v1_job.py +1 -1
  132. polyaxon_sdk/models/v1_join.py +1 -1
  133. polyaxon_sdk/models/v1_join_param.py +1 -1
  134. polyaxon_sdk/models/v1_kf_replica.py +1 -1
  135. polyaxon_sdk/models/v1_list_activities_response.py +1 -1
  136. polyaxon_sdk/models/v1_list_agents_response.py +1 -1
  137. polyaxon_sdk/models/v1_list_bookmarks_response.py +1 -1
  138. polyaxon_sdk/models/v1_list_connections_response.py +1 -1
  139. polyaxon_sdk/models/v1_list_dashboards_response.py +1 -1
  140. polyaxon_sdk/models/v1_list_organization_members_response.py +1 -1
  141. polyaxon_sdk/models/v1_list_organizations_response.py +1 -1
  142. polyaxon_sdk/models/v1_list_presets_response.py +1 -1
  143. polyaxon_sdk/models/v1_list_project_versions_response.py +1 -1
  144. polyaxon_sdk/models/v1_list_projects_response.py +1 -1
  145. polyaxon_sdk/models/v1_list_queues_response.py +1 -1
  146. polyaxon_sdk/models/v1_list_run_artifacts_response.py +1 -1
  147. polyaxon_sdk/models/v1_list_run_connections_response.py +1 -1
  148. polyaxon_sdk/models/v1_list_run_edges_response.py +1 -1
  149. polyaxon_sdk/models/v1_list_runs_response.py +1 -1
  150. polyaxon_sdk/models/v1_list_searches_response.py +1 -1
  151. polyaxon_sdk/models/v1_list_service_accounts_response.py +1 -1
  152. polyaxon_sdk/models/v1_list_tags_response.py +1 -1
  153. polyaxon_sdk/models/v1_list_team_members_response.py +1 -1
  154. polyaxon_sdk/models/v1_list_teams_response.py +1 -1
  155. polyaxon_sdk/models/v1_list_token_response.py +1 -1
  156. polyaxon_sdk/models/v1_log.py +1 -1
  157. polyaxon_sdk/models/v1_log_handler.py +1 -1
  158. polyaxon_sdk/models/v1_logs.py +1 -1
  159. polyaxon_sdk/models/v1_managed_by.py +1 -1
  160. polyaxon_sdk/models/v1_mapping.py +1 -1
  161. polyaxon_sdk/models/v1_matrix.py +1 -1
  162. polyaxon_sdk/models/v1_matrix_kind.py +1 -1
  163. polyaxon_sdk/models/v1_median_stopping_policy.py +1 -1
  164. polyaxon_sdk/models/v1_metric_early_stopping.py +1 -1
  165. polyaxon_sdk/models/v1_mpi_job.py +1 -1
  166. polyaxon_sdk/models/v1_multi_events_response.py +1 -1
  167. polyaxon_sdk/models/v1_mx_job.py +1 -1
  168. polyaxon_sdk/models/v1_notification.py +1 -1
  169. polyaxon_sdk/models/v1_operation.py +1 -1
  170. polyaxon_sdk/models/v1_operation_body.py +1 -1
  171. polyaxon_sdk/models/v1_optimization.py +1 -1
  172. polyaxon_sdk/models/v1_optimization_metric.py +1 -1
  173. polyaxon_sdk/models/v1_optimization_resource.py +1 -1
  174. polyaxon_sdk/models/v1_organization.py +1 -1
  175. polyaxon_sdk/models/v1_organization_member.py +1 -1
  176. polyaxon_sdk/models/v1_paddle_elastic_polic.py +77 -0
  177. polyaxon_sdk/models/v1_paddle_job.py +8 -2
  178. polyaxon_sdk/models/v1_param.py +1 -1
  179. polyaxon_sdk/models/v1_password_change.py +1 -1
  180. polyaxon_sdk/models/v1_patch_strategy.py +1 -1
  181. polyaxon_sdk/models/v1_path_ref.py +1 -1
  182. polyaxon_sdk/models/v1_pipeline.py +1 -1
  183. polyaxon_sdk/models/v1_pipeline_kind.py +1 -1
  184. polyaxon_sdk/models/v1_plugins.py +1 -1
  185. polyaxon_sdk/models/v1_polyaxon_init_container.py +1 -1
  186. polyaxon_sdk/models/v1_polyaxon_sidecar_container.py +1 -1
  187. polyaxon_sdk/models/v1_preset.py +1 -1
  188. polyaxon_sdk/models/v1_project.py +1 -1
  189. polyaxon_sdk/models/v1_project_settings.py +1 -1
  190. polyaxon_sdk/models/v1_project_user_access.py +1 -1
  191. polyaxon_sdk/models/v1_project_version.py +1 -1
  192. polyaxon_sdk/models/v1_project_version_kind.py +1 -1
  193. polyaxon_sdk/models/v1_pytorch_elastic_policy.py +91 -0
  194. polyaxon_sdk/models/v1_pytorch_job.py +11 -3
  195. polyaxon_sdk/models/v1_queue.py +1 -1
  196. polyaxon_sdk/models/v1_random_search.py +1 -1
  197. polyaxon_sdk/models/v1_ray_job.py +1 -1
  198. polyaxon_sdk/models/v1_ray_replica.py +1 -1
  199. polyaxon_sdk/models/v1_reference.py +1 -1
  200. polyaxon_sdk/models/v1_resource_type.py +1 -1
  201. polyaxon_sdk/models/v1_run.py +1 -1
  202. polyaxon_sdk/models/v1_run_artifact.py +1 -1
  203. polyaxon_sdk/models/v1_run_artifacts.py +1 -1
  204. polyaxon_sdk/models/v1_run_connection.py +1 -1
  205. polyaxon_sdk/models/v1_run_edge.py +1 -1
  206. polyaxon_sdk/models/v1_run_edge_kind.py +1 -1
  207. polyaxon_sdk/models/v1_run_edge_lineage.py +1 -1
  208. polyaxon_sdk/models/v1_run_edges_graph.py +1 -1
  209. polyaxon_sdk/models/v1_run_kind.py +1 -1
  210. polyaxon_sdk/models/v1_run_pending.py +1 -1
  211. polyaxon_sdk/models/v1_run_reference_catalog.py +1 -1
  212. polyaxon_sdk/models/v1_run_resources.py +1 -1
  213. polyaxon_sdk/models/v1_run_schema.py +1 -1
  214. polyaxon_sdk/models/v1_run_settings.py +1 -1
  215. polyaxon_sdk/models/v1_s3_type.py +1 -1
  216. polyaxon_sdk/models/v1_schedule.py +1 -1
  217. polyaxon_sdk/models/v1_schedule_kind.py +1 -1
  218. polyaxon_sdk/models/v1_scheduling_policy.py +8 -4
  219. polyaxon_sdk/models/v1_schemas.py +1 -1
  220. polyaxon_sdk/models/v1_search.py +1 -1
  221. polyaxon_sdk/models/v1_search_spec.py +1 -1
  222. polyaxon_sdk/models/v1_section_spec.py +1 -1
  223. polyaxon_sdk/models/v1_service.py +1 -1
  224. polyaxon_sdk/models/v1_service_account.py +1 -1
  225. polyaxon_sdk/models/v1_settings_catalog.py +1 -1
  226. polyaxon_sdk/models/v1_stage.py +1 -1
  227. polyaxon_sdk/models/v1_stage_condition.py +1 -1
  228. polyaxon_sdk/models/v1_stages.py +1 -1
  229. polyaxon_sdk/models/v1_status.py +1 -1
  230. polyaxon_sdk/models/v1_status_condition.py +1 -1
  231. polyaxon_sdk/models/v1_statuses.py +1 -1
  232. polyaxon_sdk/models/v1_tag.py +1 -1
  233. polyaxon_sdk/models/v1_team.py +1 -1
  234. polyaxon_sdk/models/v1_team_member.py +1 -1
  235. polyaxon_sdk/models/v1_team_settings.py +1 -1
  236. polyaxon_sdk/models/v1_template.py +1 -1
  237. polyaxon_sdk/models/v1_tensorboard_type.py +1 -1
  238. polyaxon_sdk/models/v1_termination.py +1 -1
  239. polyaxon_sdk/models/v1_tf_job.py +4 -2
  240. polyaxon_sdk/models/v1_token.py +1 -1
  241. polyaxon_sdk/models/v1_trial_start.py +1 -1
  242. polyaxon_sdk/models/v1_trigger_policy.py +1 -1
  243. polyaxon_sdk/models/v1_truncation_stopping_policy.py +1 -1
  244. polyaxon_sdk/models/v1_tuner.py +1 -1
  245. polyaxon_sdk/models/v1_uri_type.py +1 -1
  246. polyaxon_sdk/models/v1_url_ref.py +1 -1
  247. polyaxon_sdk/models/v1_user.py +1 -1
  248. polyaxon_sdk/models/v1_user_email.py +1 -1
  249. polyaxon_sdk/models/v1_user_singup.py +1 -1
  250. polyaxon_sdk/models/v1_uuids.py +1 -1
  251. polyaxon_sdk/models/v1_validation.py +1 -1
  252. polyaxon_sdk/models/v1_version.py +1 -1
  253. polyaxon_sdk/models/v1_wasb_type.py +1 -1
  254. polyaxon_sdk/models/v1_xg_boost_job.py +1 -1
  255. polyaxon_sdk/rest.py +1 -1
  256. {polyaxon_sdk-2.1.0rc2.dist-info → polyaxon_sdk-2.1.0rc4.dist-info}/METADATA +1 -1
  257. polyaxon_sdk-2.1.0rc4.dist-info/RECORD +260 -0
  258. polyaxon_sdk-2.1.0rc2.dist-info/RECORD +0 -258
  259. {polyaxon_sdk-2.1.0rc2.dist-info → polyaxon_sdk-2.1.0rc4.dist-info}/WHEEL +0 -0
  260. {polyaxon_sdk-2.1.0rc2.dist-info → polyaxon_sdk-2.1.0rc4.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -20,7 +20,7 @@ import re # noqa: F401
20
20
  import json
21
21
 
22
22
 
23
- from typing import Optional
23
+ from typing import Any, Dict, Optional
24
24
  from pydantic import BaseModel, Field, StrictInt, StrictStr
25
25
 
26
26
  class V1SchedulingPolicy(BaseModel):
@@ -29,8 +29,10 @@ class V1SchedulingPolicy(BaseModel):
29
29
  """
30
30
  min_available: Optional[StrictInt] = Field(None, alias="minAvailable")
31
31
  queue: Optional[StrictStr] = None
32
+ min_resources: Optional[Dict[str, Any]] = Field(None, alias="minResources")
32
33
  priority_class: Optional[StrictStr] = Field(None, alias="priorityClass")
33
- __properties = ["minAvailable", "queue", "priorityClass"]
34
+ schedule_timeout_seconds: Optional[StrictInt] = Field(None, alias="scheduleTimeoutSeconds")
35
+ __properties = ["minAvailable", "queue", "minResources", "priorityClass", "scheduleTimeoutSeconds"]
34
36
 
35
37
  class Config:
36
38
  allow_population_by_field_name = True
@@ -69,7 +71,9 @@ class V1SchedulingPolicy(BaseModel):
69
71
  _obj = V1SchedulingPolicy.parse_obj({
70
72
  "min_available": obj.get("minAvailable"),
71
73
  "queue": obj.get("queue"),
72
- "priority_class": obj.get("priorityClass")
74
+ "min_resources": obj.get("minResources"),
75
+ "priority_class": obj.get("priorityClass"),
76
+ "schedule_timeout_seconds": obj.get("scheduleTimeoutSeconds")
73
77
  })
74
78
  return _obj
75
79
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -33,12 +33,13 @@ class V1TFJob(BaseModel):
33
33
  kind: Optional[StrictStr] = 'tfjob'
34
34
  clean_pod_policy: Optional[V1CleanPodPolicy] = Field(None, alias="cleanPodPolicy")
35
35
  scheduling_policy: Optional[V1SchedulingPolicy] = Field(None, alias="schedulingPolicy")
36
+ success_policy: Optional[StrictStr] = Field(None, alias="successPolicy")
36
37
  enable_dynamic_worker: Optional[StrictBool] = Field(None, alias="enableDynamicWorker")
37
38
  chief: Optional[V1KFReplica] = None
38
39
  worker: Optional[V1KFReplica] = None
39
40
  ps: Optional[V1KFReplica] = None
40
41
  evaluator: Optional[V1KFReplica] = None
41
- __properties = ["kind", "cleanPodPolicy", "schedulingPolicy", "enableDynamicWorker", "chief", "worker", "ps", "evaluator"]
42
+ __properties = ["kind", "cleanPodPolicy", "schedulingPolicy", "successPolicy", "enableDynamicWorker", "chief", "worker", "ps", "evaluator"]
42
43
 
43
44
  class Config:
44
45
  allow_population_by_field_name = True
@@ -93,6 +94,7 @@ class V1TFJob(BaseModel):
93
94
  "kind": obj.get("kind") if obj.get("kind") is not None else 'tfjob',
94
95
  "clean_pod_policy": obj.get("cleanPodPolicy"),
95
96
  "scheduling_policy": V1SchedulingPolicy.from_dict(obj.get("schedulingPolicy")) if obj.get("schedulingPolicy") is not None else None,
97
+ "success_policy": obj.get("successPolicy"),
96
98
  "enable_dynamic_worker": obj.get("enableDynamicWorker"),
97
99
  "chief": V1KFReplica.from_dict(obj.get("chief")) if obj.get("chief") is not None else None,
98
100
  "worker": V1KFReplica.from_dict(obj.get("worker")) if obj.get("worker") is not None else None,
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
polyaxon_sdk/rest.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 2.1.0-rc2
8
+ The version of the OpenAPI document: 2.1.0-rc4
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyaxon-sdk
3
- Version: 2.1.0rc2
3
+ Version: 2.1.0rc4
4
4
  Summary: Polyaxon SDKs and REST API specification.
5
5
  Home-page: UNKNOWN
6
6
  Author: Polyaxon sdk