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
@@ -0,0 +1,109 @@
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
+ from datetime import datetime
23
+ from typing import List, Optional
24
+ from pydantic import BaseModel, StrictInt, StrictStr, conlist
25
+
26
+ class V1Policy(BaseModel):
27
+ """
28
+ V1Policy
29
+ """
30
+ uuid: Optional[StrictStr] = None
31
+ owner: Optional[StrictStr] = None
32
+ name: Optional[StrictStr] = None
33
+ description: Optional[StrictStr] = None
34
+ tags: Optional[conlist(StrictStr)] = None
35
+ created_at: Optional[datetime] = None
36
+ updated_at: Optional[datetime] = None
37
+ excluded_features: Optional[conlist(StrictStr)] = None
38
+ excluded_runtimes: Optional[conlist(StrictStr)] = None
39
+ archived_deletion_interval: Optional[StrictInt] = None
40
+ connections: Optional[conlist(StrictStr)] = None
41
+ preset: Optional[StrictStr] = None
42
+ presets: Optional[conlist(StrictStr)] = None
43
+ queue: Optional[StrictStr] = None
44
+ queues: Optional[conlist(StrictStr)] = None
45
+ agents: Optional[conlist(StrictStr)] = None
46
+ namespaces: Optional[conlist(StrictStr)] = None
47
+ teams: Optional[conlist(StrictStr)] = None
48
+ projects: Optional[conlist(StrictStr)] = None
49
+ projects_settings: Optional[conlist(StrictStr)] = None
50
+ __properties = ["uuid", "owner", "name", "description", "tags", "created_at", "updated_at", "excluded_features", "excluded_runtimes", "archived_deletion_interval", "connections", "preset", "presets", "queue", "queues", "agents", "namespaces", "teams", "projects", "projects_settings"]
51
+
52
+ class Config:
53
+ allow_population_by_field_name = True
54
+ validate_assignment = True
55
+
56
+ def to_str(self) -> str:
57
+ """Returns the string representation of the model using alias"""
58
+ return pprint.pformat(self.dict(by_alias=True))
59
+
60
+ def to_json(self) -> str:
61
+ """Returns the JSON representation of the model using alias"""
62
+ return json.dumps(self.to_dict())
63
+
64
+ @classmethod
65
+ def from_json(cls, json_str: str) -> V1Policy:
66
+ """Create an instance of V1Policy from a JSON string"""
67
+ return cls.from_dict(json.loads(json_str))
68
+
69
+ def to_dict(self):
70
+ """Returns the dictionary representation of the model using alias"""
71
+ _dict = self.dict(by_alias=True,
72
+ exclude={
73
+ },
74
+ exclude_none=True)
75
+ return _dict
76
+
77
+ @classmethod
78
+ def from_dict(cls, obj: dict) -> V1Policy:
79
+ """Create an instance of V1Policy from a dict"""
80
+ if obj is None:
81
+ return None
82
+
83
+ if type(obj) is not dict:
84
+ return V1Policy.parse_obj(obj)
85
+
86
+ _obj = V1Policy.parse_obj({
87
+ "uuid": obj.get("uuid"),
88
+ "owner": obj.get("owner"),
89
+ "name": obj.get("name"),
90
+ "description": obj.get("description"),
91
+ "tags": obj.get("tags"),
92
+ "created_at": obj.get("created_at"),
93
+ "updated_at": obj.get("updated_at"),
94
+ "excluded_features": obj.get("excluded_features"),
95
+ "excluded_runtimes": obj.get("excluded_runtimes"),
96
+ "archived_deletion_interval": obj.get("archived_deletion_interval"),
97
+ "connections": obj.get("connections"),
98
+ "preset": obj.get("preset"),
99
+ "presets": obj.get("presets"),
100
+ "queue": obj.get("queue"),
101
+ "queues": obj.get("queues"),
102
+ "agents": obj.get("agents"),
103
+ "namespaces": obj.get("namespaces"),
104
+ "teams": obj.get("teams"),
105
+ "projects": obj.get("projects"),
106
+ "projects_settings": obj.get("projects_settings")
107
+ })
108
+ return _obj
109
+
@@ -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
 
@@ -34,10 +34,12 @@ class V1ProjectSettings(BaseModel):
34
34
  queue: Optional[StrictStr] = None
35
35
  queues: Optional[conlist(StrictStr)] = None
36
36
  agents: Optional[conlist(StrictStr)] = None
37
+ namespaces: Optional[conlist(StrictStr)] = None
37
38
  user_accesses: Optional[conlist(V1ProjectUserAccess)] = None
38
39
  teams: Optional[conlist(StrictStr)] = None
39
40
  projects: Optional[conlist(StrictStr)] = None
40
- __properties = ["connections", "preset", "presets", "queue", "queues", "agents", "user_accesses", "teams", "projects"]
41
+ policy: Optional[StrictStr] = None
42
+ __properties = ["connections", "preset", "presets", "queue", "queues", "agents", "namespaces", "user_accesses", "teams", "projects", "policy"]
41
43
 
42
44
  class Config:
43
45
  allow_population_by_field_name = True
@@ -87,9 +89,11 @@ class V1ProjectSettings(BaseModel):
87
89
  "queue": obj.get("queue"),
88
90
  "queues": obj.get("queues"),
89
91
  "agents": obj.get("agents"),
92
+ "namespaces": obj.get("namespaces"),
90
93
  "user_accesses": [V1ProjectUserAccess.from_dict(_item) for _item in obj.get("user_accesses")] if obj.get("user_accesses") is not None else None,
91
94
  "teams": obj.get("teams"),
92
- "projects": obj.get("projects")
95
+ "projects": obj.get("projects"),
96
+ "policy": obj.get("policy")
93
97
  })
94
98
  return _obj
95
99
 
@@ -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
 
@@ -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