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