polyaxon-sdk 2.1.0rc3__py2.py3-none-any.whl → 2.1.0rc5__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 +1 -1
  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.0rc3.dist-info → polyaxon_sdk-2.1.0rc5.dist-info}/METADATA +1 -1
  257. polyaxon_sdk-2.1.0rc5.dist-info/RECORD +260 -0
  258. polyaxon_sdk-2.1.0rc3.dist-info/RECORD +0 -258
  259. {polyaxon_sdk-2.1.0rc3.dist-info → polyaxon_sdk-2.1.0rc5.dist-info}/WHEEL +0 -0
  260. {polyaxon_sdk-2.1.0rc3.dist-info → polyaxon_sdk-2.1.0rc5.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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
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-rc3
8
+ The version of the OpenAPI document: 2.1.0-rc5
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -0,0 +1,77 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Polyaxon SDKs and REST API specification.
5
+
6
+ # noqa: E501
7
+
8
+ The version of the OpenAPI document: 2.1.0-rc5
9
+ Contact: contact@polyaxon.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """
14
+
15
+
16
+ from __future__ import annotations
17
+ from inspect import getfullargspec
18
+ import pprint
19
+ import re # noqa: F401
20
+ import json
21
+
22
+
23
+ from typing import Any, Dict, List, Optional
24
+ from pydantic import BaseModel, Field, StrictInt, conlist
25
+
26
+ class V1PaddleElasticPolic(BaseModel):
27
+ """
28
+ V1PaddleElasticPolic
29
+ """
30
+ min_replicas: Optional[StrictInt] = Field(None, alias="minReplicas")
31
+ max_replicas: Optional[StrictInt] = Field(None, alias="maxReplicas")
32
+ max_restarts: Optional[StrictInt] = Field(None, alias="maxRestarts")
33
+ metrics: Optional[conlist(Dict[str, Any])] = None
34
+ __properties = ["minReplicas", "maxReplicas", "maxRestarts", "metrics"]
35
+
36
+ class Config:
37
+ allow_population_by_field_name = True
38
+ validate_assignment = True
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.dict(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ return json.dumps(self.to_dict())
47
+
48
+ @classmethod
49
+ def from_json(cls, json_str: str) -> V1PaddleElasticPolic:
50
+ """Create an instance of V1PaddleElasticPolic from a JSON string"""
51
+ return cls.from_dict(json.loads(json_str))
52
+
53
+ def to_dict(self):
54
+ """Returns the dictionary representation of the model using alias"""
55
+ _dict = self.dict(by_alias=True,
56
+ exclude={
57
+ },
58
+ exclude_none=True)
59
+ return _dict
60
+
61
+ @classmethod
62
+ def from_dict(cls, obj: dict) -> V1PaddleElasticPolic:
63
+ """Create an instance of V1PaddleElasticPolic from a dict"""
64
+ if obj is None:
65
+ return None
66
+
67
+ if type(obj) is not dict:
68
+ return V1PaddleElasticPolic.parse_obj(obj)
69
+
70
+ _obj = V1PaddleElasticPolic.parse_obj({
71
+ "min_replicas": obj.get("minReplicas"),
72
+ "max_replicas": obj.get("maxReplicas"),
73
+ "max_restarts": obj.get("maxRestarts"),
74
+ "metrics": obj.get("metrics")
75
+ })
76
+ return _obj
77
+