polyaxon-sdk 2.1.0rc2__py2.py3-none-any.whl → 2.1.0rc3__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 (258) hide show
  1. polyaxon_sdk/__init__.py +2 -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 +1 -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_job.py +1 -1
  177. polyaxon_sdk/models/v1_param.py +1 -1
  178. polyaxon_sdk/models/v1_password_change.py +1 -1
  179. polyaxon_sdk/models/v1_patch_strategy.py +1 -1
  180. polyaxon_sdk/models/v1_path_ref.py +1 -1
  181. polyaxon_sdk/models/v1_pipeline.py +1 -1
  182. polyaxon_sdk/models/v1_pipeline_kind.py +1 -1
  183. polyaxon_sdk/models/v1_plugins.py +1 -1
  184. polyaxon_sdk/models/v1_polyaxon_init_container.py +1 -1
  185. polyaxon_sdk/models/v1_polyaxon_sidecar_container.py +1 -1
  186. polyaxon_sdk/models/v1_preset.py +1 -1
  187. polyaxon_sdk/models/v1_project.py +1 -1
  188. polyaxon_sdk/models/v1_project_settings.py +1 -1
  189. polyaxon_sdk/models/v1_project_user_access.py +1 -1
  190. polyaxon_sdk/models/v1_project_version.py +1 -1
  191. polyaxon_sdk/models/v1_project_version_kind.py +1 -1
  192. polyaxon_sdk/models/v1_pytorch_job.py +1 -1
  193. polyaxon_sdk/models/v1_queue.py +1 -1
  194. polyaxon_sdk/models/v1_random_search.py +1 -1
  195. polyaxon_sdk/models/v1_ray_job.py +1 -1
  196. polyaxon_sdk/models/v1_ray_replica.py +1 -1
  197. polyaxon_sdk/models/v1_reference.py +1 -1
  198. polyaxon_sdk/models/v1_resource_type.py +1 -1
  199. polyaxon_sdk/models/v1_run.py +1 -1
  200. polyaxon_sdk/models/v1_run_artifact.py +1 -1
  201. polyaxon_sdk/models/v1_run_artifacts.py +1 -1
  202. polyaxon_sdk/models/v1_run_connection.py +1 -1
  203. polyaxon_sdk/models/v1_run_edge.py +1 -1
  204. polyaxon_sdk/models/v1_run_edge_kind.py +1 -1
  205. polyaxon_sdk/models/v1_run_edge_lineage.py +1 -1
  206. polyaxon_sdk/models/v1_run_edges_graph.py +1 -1
  207. polyaxon_sdk/models/v1_run_kind.py +1 -1
  208. polyaxon_sdk/models/v1_run_pending.py +1 -1
  209. polyaxon_sdk/models/v1_run_reference_catalog.py +1 -1
  210. polyaxon_sdk/models/v1_run_resources.py +1 -1
  211. polyaxon_sdk/models/v1_run_schema.py +1 -1
  212. polyaxon_sdk/models/v1_run_settings.py +1 -1
  213. polyaxon_sdk/models/v1_s3_type.py +1 -1
  214. polyaxon_sdk/models/v1_schedule.py +1 -1
  215. polyaxon_sdk/models/v1_schedule_kind.py +1 -1
  216. polyaxon_sdk/models/v1_scheduling_policy.py +1 -1
  217. polyaxon_sdk/models/v1_schemas.py +1 -1
  218. polyaxon_sdk/models/v1_search.py +1 -1
  219. polyaxon_sdk/models/v1_search_spec.py +1 -1
  220. polyaxon_sdk/models/v1_section_spec.py +1 -1
  221. polyaxon_sdk/models/v1_service.py +1 -1
  222. polyaxon_sdk/models/v1_service_account.py +1 -1
  223. polyaxon_sdk/models/v1_settings_catalog.py +1 -1
  224. polyaxon_sdk/models/v1_stage.py +1 -1
  225. polyaxon_sdk/models/v1_stage_condition.py +1 -1
  226. polyaxon_sdk/models/v1_stages.py +1 -1
  227. polyaxon_sdk/models/v1_status.py +1 -1
  228. polyaxon_sdk/models/v1_status_condition.py +1 -1
  229. polyaxon_sdk/models/v1_statuses.py +1 -1
  230. polyaxon_sdk/models/v1_tag.py +1 -1
  231. polyaxon_sdk/models/v1_team.py +1 -1
  232. polyaxon_sdk/models/v1_team_member.py +1 -1
  233. polyaxon_sdk/models/v1_team_settings.py +1 -1
  234. polyaxon_sdk/models/v1_template.py +1 -1
  235. polyaxon_sdk/models/v1_tensorboard_type.py +1 -1
  236. polyaxon_sdk/models/v1_termination.py +1 -1
  237. polyaxon_sdk/models/v1_tf_job.py +1 -1
  238. polyaxon_sdk/models/v1_token.py +1 -1
  239. polyaxon_sdk/models/v1_trial_start.py +1 -1
  240. polyaxon_sdk/models/v1_trigger_policy.py +1 -1
  241. polyaxon_sdk/models/v1_truncation_stopping_policy.py +1 -1
  242. polyaxon_sdk/models/v1_tuner.py +1 -1
  243. polyaxon_sdk/models/v1_uri_type.py +1 -1
  244. polyaxon_sdk/models/v1_url_ref.py +1 -1
  245. polyaxon_sdk/models/v1_user.py +1 -1
  246. polyaxon_sdk/models/v1_user_email.py +1 -1
  247. polyaxon_sdk/models/v1_user_singup.py +1 -1
  248. polyaxon_sdk/models/v1_uuids.py +1 -1
  249. polyaxon_sdk/models/v1_validation.py +1 -1
  250. polyaxon_sdk/models/v1_version.py +1 -1
  251. polyaxon_sdk/models/v1_wasb_type.py +1 -1
  252. polyaxon_sdk/models/v1_xg_boost_job.py +1 -1
  253. polyaxon_sdk/rest.py +1 -1
  254. {polyaxon_sdk-2.1.0rc2.dist-info → polyaxon_sdk-2.1.0rc3.dist-info}/METADATA +1 -1
  255. polyaxon_sdk-2.1.0rc3.dist-info/RECORD +258 -0
  256. polyaxon_sdk-2.1.0rc2.dist-info/RECORD +0 -258
  257. {polyaxon_sdk-2.1.0rc2.dist-info → polyaxon_sdk-2.1.0rc3.dist-info}/WHEEL +0 -0
  258. {polyaxon_sdk-2.1.0rc2.dist-info → polyaxon_sdk-2.1.0rc3.dist-info}/top_level.txt +0 -0
polyaxon_sdk/__init__.py CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  # noqa: E501
9
9
 
10
- The version of the OpenAPI document: 2.1.0-rc2
10
+ The version of the OpenAPI document: 2.1.0-rc3
11
11
  Contact: contact@polyaxon.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,7 +15,7 @@
15
15
  """
16
16
 
17
17
 
18
- __version__ = "2.1.0-rc2"
18
+ __version__ = "2.1.0-rc3"
19
19
 
20
20
  # import apis into sdk package
21
21
  from polyaxon_sdk.api.agents_v1_api import AgentsV1Api
@@ -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-rc3
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -20,7 +20,7 @@ from typing_extensions import Annotated
20
20
 
21
21
  from pydantic import Field, StrictBool, StrictInt, StrictStr
22
22
 
23
- from typing import Optional
23
+ from typing import Any, Dict, Optional
24
24
 
25
25
  from polyaxon_sdk.models.v1_agent import V1Agent
26
26
  from polyaxon_sdk.models.v1_agent_state_response import V1AgentStateResponse
@@ -369,17 +369,19 @@ class AgentsV1Api(object):
369
369
  _request_auth=_params.get('_request_auth'))
370
370
 
371
371
  @validate_arguments
372
- def cron_agent(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], **kwargs) -> V1AgentStateResponse: # noqa: E501
372
+ def cron_agent(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], body : Annotated[Dict[str, Any], Field(..., description="Cron body")], **kwargs) -> V1AgentStateResponse: # noqa: E501
373
373
  """Global Cron # noqa: E501
374
374
 
375
375
  This method makes a synchronous HTTP request by default. To make an
376
376
  asynchronous HTTP request, please pass async_req=True
377
377
 
378
- >>> thread = api.cron_agent(owner, async_req=True)
378
+ >>> thread = api.cron_agent(owner, body, async_req=True)
379
379
  >>> result = thread.get()
380
380
 
381
381
  :param owner: Owner of the namespace (required)
382
382
  :type owner: str
383
+ :param body: Cron body (required)
384
+ :type body: object
383
385
  :param async_req: Whether to execute the request asynchronously.
384
386
  :type async_req: bool, optional
385
387
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -396,20 +398,22 @@ class AgentsV1Api(object):
396
398
  :rtype: V1AgentStateResponse
397
399
  """
398
400
  kwargs['_return_http_data_only'] = True
399
- return self.cron_agent_with_http_info(owner, **kwargs) # noqa: E501
401
+ return self.cron_agent_with_http_info(owner, body, **kwargs) # noqa: E501
400
402
 
401
403
  @validate_arguments
402
- def cron_agent_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], **kwargs): # noqa: E501
404
+ def cron_agent_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], body : Annotated[Dict[str, Any], Field(..., description="Cron body")], **kwargs): # noqa: E501
403
405
  """Global Cron # noqa: E501
404
406
 
405
407
  This method makes a synchronous HTTP request by default. To make an
406
408
  asynchronous HTTP request, please pass async_req=True
407
409
 
408
- >>> thread = api.cron_agent_with_http_info(owner, async_req=True)
410
+ >>> thread = api.cron_agent_with_http_info(owner, body, async_req=True)
409
411
  >>> result = thread.get()
410
412
 
411
413
  :param owner: Owner of the namespace (required)
412
414
  :type owner: str
415
+ :param body: Cron body (required)
416
+ :type body: object
413
417
  :param async_req: Whether to execute the request asynchronously.
414
418
  :type async_req: bool, optional
415
419
  :param _return_http_data_only: response data without head status code
@@ -437,7 +441,8 @@ class AgentsV1Api(object):
437
441
  _params = locals()
438
442
 
439
443
  _all_params = [
440
- 'owner'
444
+ 'owner',
445
+ 'body'
441
446
  ]
442
447
  _all_params.extend(
443
448
  [
@@ -478,10 +483,20 @@ class AgentsV1Api(object):
478
483
  _files = {}
479
484
  # process the body parameter
480
485
  _body_params = None
486
+ if _params['body']:
487
+ _body_params = _params['body']
488
+
481
489
  # set the HTTP header `Accept`
482
490
  _header_params['Accept'] = self.api_client.select_header_accept(
483
491
  ['application/json']) # noqa: E501
484
492
 
493
+ # set the HTTP header `Content-Type`
494
+ _content_types_list = _params.get('_content_type',
495
+ self.api_client.select_header_content_type(
496
+ ['application/json']))
497
+ if _content_types_list:
498
+ _header_params['Content-Type'] = _content_types_list
499
+
485
500
  # authentication setting
486
501
  _auth_settings = ['ApiKey'] # noqa: E501
487
502
 
@@ -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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/2.1.0-rc2/python'
79
+ self.user_agent = 'OpenAPI-Generator/2.1.0-rc3/python'
80
80
  self.client_side_validation = configuration.client_side_validation
81
81
 
82
82
  def __enter__(self):
@@ -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-rc3
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -393,8 +393,8 @@ conf = polyaxon_sdk.Configuration(
393
393
  return "Python SDK Debug Report:\n"\
394
394
  "OS: {env}\n"\
395
395
  "Python Version: {pyversion}\n"\
396
- "Version of the API: 2.1.0-rc2\n"\
397
- "SDK Package Version: 2.1.0-rc2".\
396
+ "Version of the API: 2.1.0-rc3\n"\
397
+ "SDK Package Version: 2.1.0-rc3".\
398
398
  format(env=sys.platform, pyversion=sys.version)
399
399
 
400
400
  def get_host_settings(self):
@@ -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-rc3
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  # noqa: E501
8
8
 
9
- The version of the OpenAPI document: 2.1.0-rc2
9
+ The version of the OpenAPI document: 2.1.0-rc3
10
10
  Contact: contact@polyaxon.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
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-rc3
9
9
  Contact: contact@polyaxon.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11