anyscale 0.24.86__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 (1131) hide show
  1. anyscale/__init__.py +181 -0
  2. anyscale/_private/anyscale_client/README.md +16 -0
  3. anyscale/_private/anyscale_client/__init__.py +8 -0
  4. anyscale/_private/anyscale_client/anyscale_client.py +1847 -0
  5. anyscale/_private/anyscale_client/common.py +593 -0
  6. anyscale/_private/anyscale_client/fake_anyscale_client.py +1080 -0
  7. anyscale/_private/docgen/README.md +15 -0
  8. anyscale/_private/docgen/__main__.py +700 -0
  9. anyscale/_private/docgen/api.md +1106 -0
  10. anyscale/_private/docgen/generator.py +559 -0
  11. anyscale/_private/docgen/generator_legacy.py +104 -0
  12. anyscale/_private/docgen/models.md +2261 -0
  13. anyscale/_private/models/__init__.py +2 -0
  14. anyscale/_private/models/image_uri.py +116 -0
  15. anyscale/_private/models/model_base.py +251 -0
  16. anyscale/_private/sdk/__init__.py +102 -0
  17. anyscale/_private/sdk/base_sdk.py +35 -0
  18. anyscale/_private/sdk/timer.py +46 -0
  19. anyscale/_private/utils/__init__.py +0 -0
  20. anyscale/_private/utils/progress_util.py +85 -0
  21. anyscale/_private/workload/__init__.py +2 -0
  22. anyscale/_private/workload/workload_config.py +195 -0
  23. anyscale/_private/workload/workload_sdk.py +324 -0
  24. anyscale/aggregated_instance_usage/__init__.py +36 -0
  25. anyscale/aggregated_instance_usage/_private/aggregated_instance_usage_sdk.py +30 -0
  26. anyscale/aggregated_instance_usage/commands.py +42 -0
  27. anyscale/aggregated_instance_usage/models.py +85 -0
  28. anyscale/anyscale-cloud-setup-gcp-oa.yaml +88 -0
  29. anyscale/anyscale-cloud-setup-gcp.yaml +113 -0
  30. anyscale/anyscale-cloud-setup-oa.yaml +121 -0
  31. anyscale/anyscale-cloud-setup.yaml +327 -0
  32. anyscale/anyscale_pydantic/HISTORY.md +1254 -0
  33. anyscale/anyscale_pydantic/LICENSE +21 -0
  34. anyscale/anyscale_pydantic/PKG-INFO +1351 -0
  35. anyscale/anyscale_pydantic/README.md +7 -0
  36. anyscale/anyscale_pydantic/__init__.py +131 -0
  37. anyscale/anyscale_pydantic/_hypothesis_plugin.py +391 -0
  38. anyscale/anyscale_pydantic/annotated_types.py +72 -0
  39. anyscale/anyscale_pydantic/class_validators.py +361 -0
  40. anyscale/anyscale_pydantic/color.py +494 -0
  41. anyscale/anyscale_pydantic/config.py +191 -0
  42. anyscale/anyscale_pydantic/dataclasses.py +478 -0
  43. anyscale/anyscale_pydantic/datetime_parse.py +248 -0
  44. anyscale/anyscale_pydantic/decorator.py +264 -0
  45. anyscale/anyscale_pydantic/env_settings.py +350 -0
  46. anyscale/anyscale_pydantic/error_wrappers.py +162 -0
  47. anyscale/anyscale_pydantic/errors.py +646 -0
  48. anyscale/anyscale_pydantic/fields.py +1256 -0
  49. anyscale/anyscale_pydantic/generics.py +400 -0
  50. anyscale/anyscale_pydantic/json.py +112 -0
  51. anyscale/anyscale_pydantic/main.py +1109 -0
  52. anyscale/anyscale_pydantic/mypy.py +943 -0
  53. anyscale/anyscale_pydantic/networks.py +739 -0
  54. anyscale/anyscale_pydantic/parse.py +66 -0
  55. anyscale/anyscale_pydantic/py.typed +0 -0
  56. anyscale/anyscale_pydantic/schema.py +1164 -0
  57. anyscale/anyscale_pydantic/tools.py +92 -0
  58. anyscale/anyscale_pydantic/types.py +1206 -0
  59. anyscale/anyscale_pydantic/typing.py +603 -0
  60. anyscale/anyscale_pydantic/utils.py +803 -0
  61. anyscale/anyscale_pydantic/validators.py +765 -0
  62. anyscale/anyscale_pydantic/version.py +38 -0
  63. anyscale/anyscale_schema.json +9 -0
  64. anyscale/api.py +215 -0
  65. anyscale/api_utils/README.md +2 -0
  66. anyscale/api_utils/__init__.py +0 -0
  67. anyscale/api_utils/common_utils.py +81 -0
  68. anyscale/api_utils/exceptions/__init__.py +0 -0
  69. anyscale/api_utils/exceptions/job_errors.py +2 -0
  70. anyscale/api_utils/job_logs_util.py +116 -0
  71. anyscale/api_utils/job_util.py +22 -0
  72. anyscale/api_utils/logs_util.py +61 -0
  73. anyscale/authenticate.py +298 -0
  74. anyscale/aws_iam_policies.py +465 -0
  75. anyscale/background/__init__.py +0 -0
  76. anyscale/background/job_runner.py +64 -0
  77. anyscale/cli_logger.py +378 -0
  78. anyscale/client/.gitignore +66 -0
  79. anyscale/client/.openapi-generator/VERSION +1 -0
  80. anyscale/client/.openapi-generator-ignore +23 -0
  81. anyscale/client/README.md +1070 -0
  82. anyscale/client/git_push.sh +58 -0
  83. anyscale/client/openapi_client/__init__.py +667 -0
  84. anyscale/client/openapi_client/api/__init__.py +6 -0
  85. anyscale/client/openapi_client/api/default_api.py +40922 -0
  86. anyscale/client/openapi_client/api_client.py +647 -0
  87. anyscale/client/openapi_client/configuration.py +373 -0
  88. anyscale/client/openapi_client/exceptions.py +120 -0
  89. anyscale/client/openapi_client/models/__init__.py +652 -0
  90. anyscale/client/openapi_client/models/access_config.py +122 -0
  91. anyscale/client/openapi_client/models/aggregated_instance_usage_with_cost_model.py +733 -0
  92. anyscale/client/openapi_client/models/aggregatedinstanceusagewithcostmodel_list_response.py +147 -0
  93. anyscale/client/openapi_client/models/aica_endpoint.py +527 -0
  94. anyscale/client/openapi_client/models/aica_endpoint_event.py +433 -0
  95. anyscale/client/openapi_client/models/aica_endpoint_event_level.py +103 -0
  96. anyscale/client/openapi_client/models/aica_endpoint_event_type.py +120 -0
  97. anyscale/client/openapi_client/models/aica_endpoint_scope.py +102 -0
  98. anyscale/client/openapi_client/models/aica_model.py +398 -0
  99. anyscale/client/openapi_client/models/aica_model_accelerator_map.py +123 -0
  100. anyscale/client/openapi_client/models/aica_model_configuration.py +209 -0
  101. anyscale/client/openapi_client/models/aica_observability_urls.py +178 -0
  102. anyscale/client/openapi_client/models/aicaendpoint_list_response.py +147 -0
  103. anyscale/client/openapi_client/models/aicaendpoint_response.py +121 -0
  104. anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +147 -0
  105. anyscale/client/openapi_client/models/aicamodel_list_response.py +147 -0
  106. anyscale/client/openapi_client/models/aicamodel_response.py +121 -0
  107. anyscale/client/openapi_client/models/aioa_cloud_waitlist_record.py +254 -0
  108. anyscale/client/openapi_client/models/aioacloudwaitlistrecord_response.py +121 -0
  109. anyscale/client/openapi_client/models/alert_type.py +103 -0
  110. anyscale/client/openapi_client/models/anyscale_aws_account.py +121 -0
  111. anyscale/client/openapi_client/models/anyscale_service_account.py +256 -0
  112. anyscale/client/openapi_client/models/anyscale_version_response.py +121 -0
  113. anyscale/client/openapi_client/models/anyscaleawsaccount_response.py +121 -0
  114. anyscale/client/openapi_client/models/anyscaled_credential_response.py +121 -0
  115. anyscale/client/openapi_client/models/anyscaledcredentialresponse_response.py +121 -0
  116. anyscale/client/openapi_client/models/anyscaleserviceaccount_response.py +121 -0
  117. anyscale/client/openapi_client/models/anyscaleversionresponse_response.py +121 -0
  118. anyscale/client/openapi_client/models/api_key_parameters.py +147 -0
  119. anyscale/client/openapi_client/models/app_config.py +436 -0
  120. anyscale/client/openapi_client/models/app_config_config_schema.py +235 -0
  121. anyscale/client/openapi_client/models/appconfig_list_response.py +147 -0
  122. anyscale/client/openapi_client/models/appconfig_response.py +121 -0
  123. anyscale/client/openapi_client/models/application_type.py +99 -0
  124. anyscale/client/openapi_client/models/applied_snapshot.py +175 -0
  125. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +490 -0
  126. anyscale/client/openapi_client/models/archive_status.py +101 -0
  127. anyscale/client/openapi_client/models/archived_logs_info.py +164 -0
  128. anyscale/client/openapi_client/models/archivedlogsinfo_response.py +121 -0
  129. anyscale/client/openapi_client/models/attach_machine_pool_to_cloud_request.py +152 -0
  130. anyscale/client/openapi_client/models/attachmachinepooltocloudresponse_response.py +121 -0
  131. anyscale/client/openapi_client/models/aviary_model_config_v2.py +358 -0
  132. anyscale/client/openapi_client/models/aws_credentials.py +181 -0
  133. anyscale/client/openapi_client/models/aws_memory_db_cluster_config.py +148 -0
  134. anyscale/client/openapi_client/models/aws_region_and_zones.py +123 -0
  135. anyscale/client/openapi_client/models/aws_region_info.py +152 -0
  136. anyscale/client/openapi_client/models/awsregionandzones_response.py +121 -0
  137. anyscale/client/openapi_client/models/bank_account_information.py +239 -0
  138. anyscale/client/openapi_client/models/base_job_status.py +105 -0
  139. anyscale/client/openapi_client/models/baseimagesenum.py +2130 -0
  140. anyscale/client/openapi_client/models/batch_response_batched_result_organization_invitation_base.py +121 -0
  141. anyscale/client/openapi_client/models/batched_result_organization_invitation_base.py +173 -0
  142. anyscale/client/openapi_client/models/billing_information.py +181 -0
  143. anyscale/client/openapi_client/models/billing_version_code.py +100 -0
  144. anyscale/client/openapi_client/models/body_aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post.py +121 -0
  145. anyscale/client/openapi_client/models/buffer_registration.py +285 -0
  146. anyscale/client/openapi_client/models/build.py +607 -0
  147. anyscale/client/openapi_client/models/build_log_response.py +123 -0
  148. anyscale/client/openapi_client/models/build_registration.py +285 -0
  149. anyscale/client/openapi_client/models/build_response.py +121 -0
  150. anyscale/client/openapi_client/models/build_status.py +104 -0
  151. anyscale/client/openapi_client/models/buildlogresponse_response.py +121 -0
  152. anyscale/client/openapi_client/models/card.py +181 -0
  153. anyscale/client/openapi_client/models/card_id.py +108 -0
  154. anyscale/client/openapi_client/models/card_list_response.py +147 -0
  155. anyscale/client/openapi_client/models/change_password_params.py +148 -0
  156. anyscale/client/openapi_client/models/cleanup_leaked_grafana_dashboard_response.py +208 -0
  157. anyscale/client/openapi_client/models/cleanupleakedgrafanadashboardresponse_response.py +121 -0
  158. anyscale/client/openapi_client/models/clone_experimental_workspace.py +151 -0
  159. anyscale/client/openapi_client/models/cloud.py +802 -0
  160. anyscale/client/openapi_client/models/cloud_analytics_event.py +351 -0
  161. anyscale/client/openapi_client/models/cloud_analytics_event_cloud_provider_error.py +152 -0
  162. anyscale/client/openapi_client/models/cloud_analytics_event_cloud_resource.py +117 -0
  163. anyscale/client/openapi_client/models/cloud_analytics_event_command_name.py +103 -0
  164. anyscale/client/openapi_client/models/cloud_analytics_event_error.py +150 -0
  165. anyscale/client/openapi_client/models/cloud_analytics_event_name.py +109 -0
  166. anyscale/client/openapi_client/models/cloud_collaborator.py +175 -0
  167. anyscale/client/openapi_client/models/cloud_collaborator_value.py +177 -0
  168. anyscale/client/openapi_client/models/cloud_collaborators_query.py +122 -0
  169. anyscale/client/openapi_client/models/cloud_config.py +206 -0
  170. anyscale/client/openapi_client/models/cloud_data_bucket_access_mode.py +100 -0
  171. anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +102 -0
  172. anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_info.py +268 -0
  173. anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_request.py +152 -0
  174. anyscale/client/openapi_client/models/cloud_data_bucket_presigned_upload_scheme.py +100 -0
  175. anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_request.py +209 -0
  176. anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_response.py +296 -0
  177. anyscale/client/openapi_client/models/cloud_data_bucket_presigned_url_scheme.py +100 -0
  178. anyscale/client/openapi_client/models/cloud_data_bucket_request_scope.py +100 -0
  179. anyscale/client/openapi_client/models/cloud_hosting_type.py +100 -0
  180. anyscale/client/openapi_client/models/cloud_list_response.py +147 -0
  181. anyscale/client/openapi_client/models/cloud_name_options.py +121 -0
  182. anyscale/client/openapi_client/models/cloud_overview_dashboard.py +175 -0
  183. anyscale/client/openapi_client/models/cloud_project_collaborator.py +175 -0
  184. anyscale/client/openapi_client/models/cloud_project_collaborator_value.py +121 -0
  185. anyscale/client/openapi_client/models/cloud_provider.py +102 -0
  186. anyscale/client/openapi_client/models/cloud_providers.py +103 -0
  187. anyscale/client/openapi_client/models/cloud_region_and_zones.py +123 -0
  188. anyscale/client/openapi_client/models/cloud_region_info.py +152 -0
  189. anyscale/client/openapi_client/models/cloud_resource.py +740 -0
  190. anyscale/client/openapi_client/models/cloud_resource_gcp.py +691 -0
  191. anyscale/client/openapi_client/models/cloud_response.py +121 -0
  192. anyscale/client/openapi_client/models/cloud_state.py +104 -0
  193. anyscale/client/openapi_client/models/cloud_status.py +100 -0
  194. anyscale/client/openapi_client/models/cloud_type.py +100 -0
  195. anyscale/client/openapi_client/models/cloud_types.py +100 -0
  196. anyscale/client/openapi_client/models/cloud_version.py +100 -0
  197. anyscale/client/openapi_client/models/cloud_waitlist_status.py +102 -0
  198. anyscale/client/openapi_client/models/cloud_with_cloud_resource.py +830 -0
  199. anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py +830 -0
  200. anyscale/client/openapi_client/models/cloudcollaborator_list_response.py +147 -0
  201. anyscale/client/openapi_client/models/clouddatabucketpresigneduploadinfo_response.py +121 -0
  202. anyscale/client/openapi_client/models/clouddatabucketpresignedurlresponse_response.py +121 -0
  203. anyscale/client/openapi_client/models/cloudoverviewdashboard_response.py +121 -0
  204. anyscale/client/openapi_client/models/cloudregionandzones_response.py +121 -0
  205. anyscale/client/openapi_client/models/cloudresource_response.py +121 -0
  206. anyscale/client/openapi_client/models/cloudresourcegcp_response.py +121 -0
  207. anyscale/client/openapi_client/models/cloudwithcloudresource_response.py +121 -0
  208. anyscale/client/openapi_client/models/cloudwithcloudresourcegcp_response.py +121 -0
  209. anyscale/client/openapi_client/models/cluster_auth_response.py +148 -0
  210. anyscale/client/openapi_client/models/cluster_config.py +178 -0
  211. anyscale/client/openapi_client/models/cluster_config_with_session_idle_timeout.py +204 -0
  212. anyscale/client/openapi_client/models/cluster_environments_query.py +290 -0
  213. anyscale/client/openapi_client/models/cluster_event.py +174 -0
  214. anyscale/client/openapi_client/models/cluster_events_output.py +175 -0
  215. anyscale/client/openapi_client/models/cluster_features.py +152 -0
  216. anyscale/client/openapi_client/models/cluster_management_stack_versions.py +100 -0
  217. anyscale/client/openapi_client/models/cluster_startup.py +208 -0
  218. anyscale/client/openapi_client/models/cluster_status.py +104 -0
  219. anyscale/client/openapi_client/models/cluster_status_details.py +100 -0
  220. anyscale/client/openapi_client/models/clusterauthresponse_response.py +121 -0
  221. anyscale/client/openapi_client/models/clusterconfig_response.py +121 -0
  222. anyscale/client/openapi_client/models/clusterconfigwithsessionidletimeout_response.py +121 -0
  223. anyscale/client/openapi_client/models/clustereventsoutput_response.py +121 -0
  224. anyscale/client/openapi_client/models/clusterfeatures_response.py +121 -0
  225. anyscale/client/openapi_client/models/company_size.py +103 -0
  226. anyscale/client/openapi_client/models/compute_node_type.py +292 -0
  227. anyscale/client/openapi_client/models/compute_stack.py +100 -0
  228. anyscale/client/openapi_client/models/compute_template.py +415 -0
  229. anyscale/client/openapi_client/models/compute_template_config.py +461 -0
  230. anyscale/client/openapi_client/models/compute_template_query.py +316 -0
  231. anyscale/client/openapi_client/models/computetemplate_response.py +121 -0
  232. anyscale/client/openapi_client/models/computetemplateconfig_response.py +121 -0
  233. anyscale/client/openapi_client/models/create_aica_endpoint.py +210 -0
  234. anyscale/client/openapi_client/models/create_aioa_cloud_waitlist.py +173 -0
  235. anyscale/client/openapi_client/models/create_analytics_event.py +122 -0
  236. anyscale/client/openapi_client/models/create_app_config.py +235 -0
  237. anyscale/client/openapi_client/models/create_app_config_configuration_schema.py +235 -0
  238. anyscale/client/openapi_client/models/create_billing_version.py +181 -0
  239. anyscale/client/openapi_client/models/create_bug_report_response.py +152 -0
  240. anyscale/client/openapi_client/models/create_build.py +263 -0
  241. anyscale/client/openapi_client/models/create_byod_app_config.py +180 -0
  242. anyscale/client/openapi_client/models/create_byod_app_config_configuration_schema.py +206 -0
  243. anyscale/client/openapi_client/models/create_byod_build.py +152 -0
  244. anyscale/client/openapi_client/models/create_cloud_collaborator.py +148 -0
  245. anyscale/client/openapi_client/models/create_cloud_resource.py +682 -0
  246. anyscale/client/openapi_client/models/create_cloud_resource_gcp.py +633 -0
  247. anyscale/client/openapi_client/models/create_cloud_with_cloud_resource.py +546 -0
  248. anyscale/client/openapi_client/models/create_cluster_compute_config.py +463 -0
  249. anyscale/client/openapi_client/models/create_compute_template.py +229 -0
  250. anyscale/client/openapi_client/models/create_compute_template_config.py +464 -0
  251. anyscale/client/openapi_client/models/create_dataset.py +200 -0
  252. anyscale/client/openapi_client/models/create_experimental_workspace.py +435 -0
  253. anyscale/client/openapi_client/models/create_experimental_workspace_from_job.py +123 -0
  254. anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +156 -0
  255. anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +353 -0
  256. anyscale/client/openapi_client/models/create_instance_usage_budget.py +253 -0
  257. anyscale/client/openapi_client/models/create_internal_production_job.py +262 -0
  258. anyscale/client/openapi_client/models/create_job_queue_config.py +206 -0
  259. anyscale/client/openapi_client/models/create_job_queue_requests.py +323 -0
  260. anyscale/client/openapi_client/models/create_machine_pool_request.py +151 -0
  261. anyscale/client/openapi_client/models/create_machine_pool_response.py +123 -0
  262. anyscale/client/openapi_client/models/create_machine_request.py +151 -0
  263. anyscale/client/openapi_client/models/create_machine_response.py +123 -0
  264. anyscale/client/openapi_client/models/create_metronome_webhook_notification.py +175 -0
  265. anyscale/client/openapi_client/models/create_notification_channel_record.py +146 -0
  266. anyscale/client/openapi_client/models/create_organization_configuration.py +199 -0
  267. anyscale/client/openapi_client/models/create_organization_invitation.py +121 -0
  268. anyscale/client/openapi_client/models/create_otp_return_api_model.py +148 -0
  269. anyscale/client/openapi_client/models/create_production_job_config.py +347 -0
  270. anyscale/client/openapi_client/models/create_resource_quota.py +293 -0
  271. anyscale/client/openapi_client/models/create_schedule.py +263 -0
  272. anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +565 -0
  273. anyscale/client/openapi_client/models/create_session_in_db.py +434 -0
  274. anyscale/client/openapi_client/models/create_session_response.py +174 -0
  275. anyscale/client/openapi_client/models/create_user.py +439 -0
  276. anyscale/client/openapi_client/models/create_user_project_collaborator.py +148 -0
  277. anyscale/client/openapi_client/models/create_user_project_collaborator_value.py +121 -0
  278. anyscale/client/openapi_client/models/create_workspace_from_template.py +263 -0
  279. anyscale/client/openapi_client/models/createbugreportresponse_response.py +121 -0
  280. anyscale/client/openapi_client/models/createcomputetemplateconfig_response.py +121 -0
  281. anyscale/client/openapi_client/models/createmachinepoolresponse_response.py +121 -0
  282. anyscale/client/openapi_client/models/createmachineresponse_response.py +121 -0
  283. anyscale/client/openapi_client/models/createotpreturnapimodel_response.py +121 -0
  284. anyscale/client/openapi_client/models/createsessionresponse_response.py +121 -0
  285. anyscale/client/openapi_client/models/credit_card_information.py +268 -0
  286. anyscale/client/openapi_client/models/customer_alert_status.py +101 -0
  287. anyscale/client/openapi_client/models/customer_billing_type.py +101 -0
  288. anyscale/client/openapi_client/models/dataplane_services.py +102 -0
  289. anyscale/client/openapi_client/models/dataset.py +416 -0
  290. anyscale/client/openapi_client/models/dataset_list_response.py +150 -0
  291. anyscale/client/openapi_client/models/dataset_response.py +121 -0
  292. anyscale/client/openapi_client/models/dataset_upload.py +148 -0
  293. anyscale/client/openapi_client/models/datasetupload_response.py +121 -0
  294. anyscale/client/openapi_client/models/decorated_application_template.py +493 -0
  295. anyscale/client/openapi_client/models/decorated_build.py +664 -0
  296. anyscale/client/openapi_client/models/decorated_compute_template.py +446 -0
  297. anyscale/client/openapi_client/models/decorated_compute_template_config.py +490 -0
  298. anyscale/client/openapi_client/models/decorated_interactive_session.py +793 -0
  299. anyscale/client/openapi_client/models/decorated_job.py +793 -0
  300. anyscale/client/openapi_client/models/decorated_job_queue.py +639 -0
  301. anyscale/client/openapi_client/models/decorated_job_submission.py +575 -0
  302. anyscale/client/openapi_client/models/decorated_list_service_api_model.py +670 -0
  303. anyscale/client/openapi_client/models/decorated_production_job.py +805 -0
  304. anyscale/client/openapi_client/models/decorated_production_job_state_transition.py +319 -0
  305. anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +641 -0
  306. anyscale/client/openapi_client/models/decorated_production_service_v2_version_api_model.py +437 -0
  307. anyscale/client/openapi_client/models/decorated_runtime_env.py +488 -0
  308. anyscale/client/openapi_client/models/decorated_schedule.py +552 -0
  309. anyscale/client/openapi_client/models/decorated_serve_deployment.py +711 -0
  310. anyscale/client/openapi_client/models/decorated_service_event_api_model.py +513 -0
  311. anyscale/client/openapi_client/models/decorated_session.py +1789 -0
  312. anyscale/client/openapi_client/models/decorated_support_request.py +283 -0
  313. anyscale/client/openapi_client/models/decorated_unified_job.py +466 -0
  314. anyscale/client/openapi_client/models/decoratedapplicationtemplate_list_response.py +147 -0
  315. anyscale/client/openapi_client/models/decoratedapplicationtemplate_response.py +121 -0
  316. anyscale/client/openapi_client/models/decoratedbuild_list_response.py +147 -0
  317. anyscale/client/openapi_client/models/decoratedbuild_response.py +121 -0
  318. anyscale/client/openapi_client/models/decoratedcomputetemplate_list_response.py +147 -0
  319. anyscale/client/openapi_client/models/decoratedcomputetemplate_response.py +121 -0
  320. anyscale/client/openapi_client/models/decoratedinteractivesession_list_response.py +147 -0
  321. anyscale/client/openapi_client/models/decoratedinteractivesession_response.py +121 -0
  322. anyscale/client/openapi_client/models/decoratedjob_list_response.py +147 -0
  323. anyscale/client/openapi_client/models/decoratedjob_response.py +121 -0
  324. anyscale/client/openapi_client/models/decoratedjobqueue_list_response.py +147 -0
  325. anyscale/client/openapi_client/models/decoratedjobqueue_response.py +121 -0
  326. anyscale/client/openapi_client/models/decoratedjobsubmission_list_response.py +147 -0
  327. anyscale/client/openapi_client/models/decoratedjobsubmission_response.py +121 -0
  328. anyscale/client/openapi_client/models/decoratedlistserviceapimodel_list_response.py +147 -0
  329. anyscale/client/openapi_client/models/decoratedproductionjob_list_response.py +147 -0
  330. anyscale/client/openapi_client/models/decoratedproductionjob_response.py +121 -0
  331. anyscale/client/openapi_client/models/decoratedproductionjobstatetransition_list_response.py +147 -0
  332. anyscale/client/openapi_client/models/decoratedproductionservicev2_apimodel_response.py +121 -0
  333. anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_list_response.py +147 -0
  334. anyscale/client/openapi_client/models/decoratedruntimeenv_list_response.py +147 -0
  335. anyscale/client/openapi_client/models/decoratedruntimeenv_response.py +121 -0
  336. anyscale/client/openapi_client/models/decoratedschedule_list_response.py +147 -0
  337. anyscale/client/openapi_client/models/decoratedschedule_response.py +121 -0
  338. anyscale/client/openapi_client/models/decoratedservedeployment_list_response.py +147 -0
  339. anyscale/client/openapi_client/models/decoratedservedeployment_response.py +121 -0
  340. anyscale/client/openapi_client/models/decoratedserviceeventapimodel_list_response.py +147 -0
  341. anyscale/client/openapi_client/models/decoratedsession_list_response.py +147 -0
  342. anyscale/client/openapi_client/models/decoratedsession_response.py +121 -0
  343. anyscale/client/openapi_client/models/decoratedsupportrequest_list_response.py +147 -0
  344. anyscale/client/openapi_client/models/decoratedsupportrequest_response.py +121 -0
  345. anyscale/client/openapi_client/models/decoratedunifiedjob_list_response.py +147 -0
  346. anyscale/client/openapi_client/models/decoratedunifiedjob_response.py +121 -0
  347. anyscale/client/openapi_client/models/delete_machine_pool_request.py +123 -0
  348. anyscale/client/openapi_client/models/delete_machine_request.py +206 -0
  349. anyscale/client/openapi_client/models/deleted_platform_fine_tuned_model.py +148 -0
  350. anyscale/client/openapi_client/models/deletedplatformfinetunedmodel_response.py +121 -0
  351. anyscale/client/openapi_client/models/deletemachinepoolresponse_response.py +121 -0
  352. anyscale/client/openapi_client/models/detach_machine_pool_from_cloud_request.py +152 -0
  353. anyscale/client/openapi_client/models/detachmachinepoolfromcloudresponse_response.py +121 -0
  354. anyscale/client/openapi_client/models/dismissal_type.py +100 -0
  355. anyscale/client/openapi_client/models/editable_cloud_resource.py +206 -0
  356. anyscale/client/openapi_client/models/editable_cloud_resource_gcp.py +178 -0
  357. anyscale/client/openapi_client/models/error.py +174 -0
  358. anyscale/client/openapi_client/models/event_level.py +104 -0
  359. anyscale/client/openapi_client/models/execute_command_response.py +175 -0
  360. anyscale/client/openapi_client/models/execute_interactive_command_options.py +147 -0
  361. anyscale/client/openapi_client/models/execute_shell_command_options.py +121 -0
  362. anyscale/client/openapi_client/models/executecommandresponse_response.py +121 -0
  363. anyscale/client/openapi_client/models/experimental_workspace.py +748 -0
  364. anyscale/client/openapi_client/models/experimental_workspaces_sort_field.py +100 -0
  365. anyscale/client/openapi_client/models/experimentalworkspace_list_response.py +147 -0
  366. anyscale/client/openapi_client/models/experimentalworkspace_response.py +121 -0
  367. anyscale/client/openapi_client/models/external_service_status.py +147 -0
  368. anyscale/client/openapi_client/models/external_service_status_response.py +250 -0
  369. anyscale/client/openapi_client/models/external_terminal_command.py +280 -0
  370. anyscale/client/openapi_client/models/externalservicestatusresponse_response.py +121 -0
  371. anyscale/client/openapi_client/models/feature_compatibility.py +152 -0
  372. anyscale/client/openapi_client/models/feature_flag_response.py +121 -0
  373. anyscale/client/openapi_client/models/featureflagresponse_response.py +121 -0
  374. anyscale/client/openapi_client/models/fine_tune_type.py +100 -0
  375. anyscale/client/openapi_client/models/fine_tuned_model.py +412 -0
  376. anyscale/client/openapi_client/models/fine_tuning_job_status.py +103 -0
  377. anyscale/client/openapi_client/models/finetunedmodel_list_response.py +147 -0
  378. anyscale/client/openapi_client/models/finetunedmodel_response.py +121 -0
  379. anyscale/client/openapi_client/models/finish_ft_job_request.py +204 -0
  380. anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +183 -0
  381. anyscale/client/openapi_client/models/gcp_file_store_config.py +175 -0
  382. anyscale/client/openapi_client/models/gcp_memorystore_instance_config.py +148 -0
  383. anyscale/client/openapi_client/models/grafana_dashboard.py +201 -0
  384. anyscale/client/openapi_client/models/grpc_protocol_config.py +178 -0
  385. anyscale/client/openapi_client/models/ha_job_error_types.py +103 -0
  386. anyscale/client/openapi_client/models/ha_job_event_level.py +101 -0
  387. anyscale/client/openapi_client/models/ha_job_event_origin.py +100 -0
  388. anyscale/client/openapi_client/models/ha_job_goal_states.py +102 -0
  389. anyscale/client/openapi_client/models/ha_job_states.py +109 -0
  390. anyscale/client/openapi_client/models/ha_job_type.py +100 -0
  391. anyscale/client/openapi_client/models/ha_jobs_sort_field.py +105 -0
  392. anyscale/client/openapi_client/models/head_ip.py +121 -0
  393. anyscale/client/openapi_client/models/headip_response.py +121 -0
  394. anyscale/client/openapi_client/models/http_protocol_config.py +150 -0
  395. anyscale/client/openapi_client/models/http_validation_error.py +120 -0
  396. anyscale/client/openapi_client/models/idle_termination_status.py +104 -0
  397. anyscale/client/openapi_client/models/import_aica_model.py +241 -0
  398. anyscale/client/openapi_client/models/instance_usage_budget.py +572 -0
  399. anyscale/client/openapi_client/models/instance_usage_budget_evaluation_period.py +100 -0
  400. anyscale/client/openapi_client/models/instanceusagebudget_list_response.py +147 -0
  401. anyscale/client/openapi_client/models/instanceusagebudget_response.py +121 -0
  402. anyscale/client/openapi_client/models/integration_details.py +120 -0
  403. anyscale/client/openapi_client/models/interactive_session_logs.py +152 -0
  404. anyscale/client/openapi_client/models/interactivesessionlogs_response.py +121 -0
  405. anyscale/client/openapi_client/models/internal_production_job.py +663 -0
  406. anyscale/client/openapi_client/models/internalproductionjob_response.py +121 -0
  407. anyscale/client/openapi_client/models/invoice.py +413 -0
  408. anyscale/client/openapi_client/models/invoice_list_response.py +147 -0
  409. anyscale/client/openapi_client/models/invoice_status.py +102 -0
  410. anyscale/client/openapi_client/models/invoices_query.py +150 -0
  411. anyscale/client/openapi_client/models/job_access.py +102 -0
  412. anyscale/client/openapi_client/models/job_queue.py +467 -0
  413. anyscale/client/openapi_client/models/job_queue_config.py +122 -0
  414. anyscale/client/openapi_client/models/job_queue_execution_mode.py +101 -0
  415. anyscale/client/openapi_client/models/job_queue_spec.py +263 -0
  416. anyscale/client/openapi_client/models/job_queue_state.py +100 -0
  417. anyscale/client/openapi_client/models/job_queues_query.py +262 -0
  418. anyscale/client/openapi_client/models/job_run_type.py +101 -0
  419. anyscale/client/openapi_client/models/job_state_log_level_types.py +100 -0
  420. anyscale/client/openapi_client/models/job_status.py +105 -0
  421. anyscale/client/openapi_client/models/job_submissions_sort_field.py +101 -0
  422. anyscale/client/openapi_client/models/jobqueue_response.py +121 -0
  423. anyscale/client/openapi_client/models/jobs_logs.py +152 -0
  424. anyscale/client/openapi_client/models/jobs_logs_query_info.py +181 -0
  425. anyscale/client/openapi_client/models/jobs_sort_field.py +104 -0
  426. anyscale/client/openapi_client/models/jobslogs_response.py +121 -0
  427. anyscale/client/openapi_client/models/jobslogsqueryinfo_response.py +121 -0
  428. anyscale/client/openapi_client/models/json_patch_operation.py +200 -0
  429. anyscale/client/openapi_client/models/kubernetes_manager_registration_request.py +123 -0
  430. anyscale/client/openapi_client/models/kubernetes_manager_registration_response.py +123 -0
  431. anyscale/client/openapi_client/models/kubernetesmanagerregistrationresponse_response.py +121 -0
  432. anyscale/client/openapi_client/models/lb_resource.py +123 -0
  433. anyscale/client/openapi_client/models/lbresource_response.py +121 -0
  434. anyscale/client/openapi_client/models/list_machine_pools_response.py +123 -0
  435. anyscale/client/openapi_client/models/list_machines_response.py +121 -0
  436. anyscale/client/openapi_client/models/list_resource_quotas_query.py +234 -0
  437. anyscale/client/openapi_client/models/list_response_metadata.py +146 -0
  438. anyscale/client/openapi_client/models/listmachinepoolsresponse_response.py +121 -0
  439. anyscale/client/openapi_client/models/listmachinesresponse_response.py +121 -0
  440. anyscale/client/openapi_client/models/log_detail.py +187 -0
  441. anyscale/client/openapi_client/models/log_details.py +151 -0
  442. anyscale/client/openapi_client/models/log_download_config.py +206 -0
  443. anyscale/client/openapi_client/models/log_download_request.py +150 -0
  444. anyscale/client/openapi_client/models/log_download_result.py +207 -0
  445. anyscale/client/openapi_client/models/log_file_chunk.py +439 -0
  446. anyscale/client/openapi_client/models/log_filter.py +430 -0
  447. anyscale/client/openapi_client/models/log_item.py +181 -0
  448. anyscale/client/openapi_client/models/log_item_batch.py +151 -0
  449. anyscale/client/openapi_client/models/log_level_types.py +100 -0
  450. anyscale/client/openapi_client/models/log_stream.py +151 -0
  451. anyscale/client/openapi_client/models/logdetails_response.py +121 -0
  452. anyscale/client/openapi_client/models/logdownloadresult_response.py +121 -0
  453. anyscale/client/openapi_client/models/login_user_params.py +205 -0
  454. anyscale/client/openapi_client/models/logitembatch_response.py +121 -0
  455. anyscale/client/openapi_client/models/logs_output.py +202 -0
  456. anyscale/client/openapi_client/models/logsoutput_response.py +121 -0
  457. anyscale/client/openapi_client/models/logstream_response.py +121 -0
  458. anyscale/client/openapi_client/models/long_running_workload.py +256 -0
  459. anyscale/client/openapi_client/models/longrunningworkload_list_response.py +147 -0
  460. anyscale/client/openapi_client/models/machine_allocation_state.py +100 -0
  461. anyscale/client/openapi_client/models/machine_connection_state.py +100 -0
  462. anyscale/client/openapi_client/models/machine_info.py +466 -0
  463. anyscale/client/openapi_client/models/machine_pool.py +266 -0
  464. anyscale/client/openapi_client/models/metronome_customer_info_model.py +148 -0
  465. anyscale/client/openapi_client/models/metronome_dashboard_type.py +101 -0
  466. anyscale/client/openapi_client/models/metronomecustomerinfomodel_list_response.py +147 -0
  467. anyscale/client/openapi_client/models/metronomecustomerinfomodel_response.py +121 -0
  468. anyscale/client/openapi_client/models/mini_build.py +267 -0
  469. anyscale/client/openapi_client/models/mini_cloud.py +321 -0
  470. anyscale/client/openapi_client/models/mini_cluster.py +148 -0
  471. anyscale/client/openapi_client/models/mini_compute_template.py +228 -0
  472. anyscale/client/openapi_client/models/mini_compute_template_config.py +121 -0
  473. anyscale/client/openapi_client/models/mini_job_run.py +599 -0
  474. anyscale/client/openapi_client/models/mini_namespace.py +148 -0
  475. anyscale/client/openapi_client/models/mini_organization.py +148 -0
  476. anyscale/client/openapi_client/models/mini_production_job.py +202 -0
  477. anyscale/client/openapi_client/models/mini_project.py +205 -0
  478. anyscale/client/openapi_client/models/mini_runtime_environment.py +147 -0
  479. anyscale/client/openapi_client/models/mini_schedule.py +180 -0
  480. anyscale/client/openapi_client/models/mini_user.py +266 -0
  481. anyscale/client/openapi_client/models/minibuild_list_response.py +147 -0
  482. anyscale/client/openapi_client/models/minicomputetemplate_list_response.py +147 -0
  483. anyscale/client/openapi_client/models/miniproject_list_response.py +147 -0
  484. anyscale/client/openapi_client/models/monitor_logs_extension.py +100 -0
  485. anyscale/client/openapi_client/models/named_entity.py +148 -0
  486. anyscale/client/openapi_client/models/nfs_mount_target.py +151 -0
  487. anyscale/client/openapi_client/models/node_registration_aws.py +152 -0
  488. anyscale/client/openapi_client/models/node_registration_gcp.py +123 -0
  489. anyscale/client/openapi_client/models/node_registration_k8_s.py +178 -0
  490. anyscale/client/openapi_client/models/node_registration_provisioned.py +150 -0
  491. anyscale/client/openapi_client/models/node_registration_v2.py +279 -0
  492. anyscale/client/openapi_client/models/node_type.py +100 -0
  493. anyscale/client/openapi_client/models/notification_channel_email_config.py +121 -0
  494. anyscale/client/openapi_client/models/notification_channel_webhook_config.py +121 -0
  495. anyscale/client/openapi_client/models/onboarding_user_cards_query.py +122 -0
  496. anyscale/client/openapi_client/models/organization.py +490 -0
  497. anyscale/client/openapi_client/models/organization_availability.py +148 -0
  498. anyscale/client/openapi_client/models/organization_collaborator.py +259 -0
  499. anyscale/client/openapi_client/models/organization_configuration.py +280 -0
  500. anyscale/client/openapi_client/models/organization_configuration_response.py +227 -0
  501. anyscale/client/openapi_client/models/organization_invitation.py +255 -0
  502. anyscale/client/openapi_client/models/organization_invitation_base.py +121 -0
  503. anyscale/client/openapi_client/models/organization_marketing_questions.py +198 -0
  504. anyscale/client/openapi_client/models/organization_permission_level.py +100 -0
  505. anyscale/client/openapi_client/models/organization_project_collaborator.py +175 -0
  506. anyscale/client/openapi_client/models/organization_project_collaborator_value.py +148 -0
  507. anyscale/client/openapi_client/models/organization_public_identifier.py +121 -0
  508. anyscale/client/openapi_client/models/organization_response.py +121 -0
  509. anyscale/client/openapi_client/models/organization_summary.py +229 -0
  510. anyscale/client/openapi_client/models/organization_usage_alert.py +210 -0
  511. anyscale/client/openapi_client/models/organization_usage_alert_severity.py +100 -0
  512. anyscale/client/openapi_client/models/organizationavailability_response.py +121 -0
  513. anyscale/client/openapi_client/models/organizationcollaborator_list_response.py +147 -0
  514. anyscale/client/openapi_client/models/organizationconfiguration_list_response.py +147 -0
  515. anyscale/client/openapi_client/models/organizationconfigurationresponse_response.py +121 -0
  516. anyscale/client/openapi_client/models/organizationinvitation_list_response.py +147 -0
  517. anyscale/client/openapi_client/models/organizationinvitation_response.py +121 -0
  518. anyscale/client/openapi_client/models/organizationinvitationbase_response.py +121 -0
  519. anyscale/client/openapi_client/models/organizationprojectcollaborator_list_response.py +147 -0
  520. anyscale/client/openapi_client/models/organizationpublicidentifier_response.py +121 -0
  521. anyscale/client/openapi_client/models/organizationusagealert_list_response.py +147 -0
  522. anyscale/client/openapi_client/models/page_query.py +153 -0
  523. anyscale/client/openapi_client/models/pause_schedule.py +123 -0
  524. anyscale/client/openapi_client/models/permission_level.py +101 -0
  525. anyscale/client/openapi_client/models/platform_fine_tuning_job.py +577 -0
  526. anyscale/client/openapi_client/models/platformfinetuningjob_list_response.py +147 -0
  527. anyscale/client/openapi_client/models/platformfinetuningjob_response.py +121 -0
  528. anyscale/client/openapi_client/models/product_autoscaler_flag.py +122 -0
  529. anyscale/client/openapi_client/models/product_type.py +100 -0
  530. anyscale/client/openapi_client/models/productautoscalerflag_response.py +121 -0
  531. anyscale/client/openapi_client/models/production_job.py +437 -0
  532. anyscale/client/openapi_client/models/production_job_config.py +348 -0
  533. anyscale/client/openapi_client/models/production_job_event.py +378 -0
  534. anyscale/client/openapi_client/models/production_job_event_scope_filter.py +101 -0
  535. anyscale/client/openapi_client/models/production_job_state_transition.py +293 -0
  536. anyscale/client/openapi_client/models/productionjob_response.py +121 -0
  537. anyscale/client/openapi_client/models/productionjobevent_list_response.py +147 -0
  538. anyscale/client/openapi_client/models/project.py +554 -0
  539. anyscale/client/openapi_client/models/project_base.py +121 -0
  540. anyscale/client/openapi_client/models/project_collaborator.py +175 -0
  541. anyscale/client/openapi_client/models/project_collaborator_value.py +175 -0
  542. anyscale/client/openapi_client/models/project_collaborators_put_message.py +121 -0
  543. anyscale/client/openapi_client/models/project_create_message.py +148 -0
  544. anyscale/client/openapi_client/models/project_default_session_name.py +121 -0
  545. anyscale/client/openapi_client/models/project_delete_message.py +121 -0
  546. anyscale/client/openapi_client/models/project_list_response.py +147 -0
  547. anyscale/client/openapi_client/models/project_patch_message.py +121 -0
  548. anyscale/client/openapi_client/models/project_response.py +121 -0
  549. anyscale/client/openapi_client/models/projectbase_response.py +121 -0
  550. anyscale/client/openapi_client/models/projectcollaborator_list_response.py +147 -0
  551. anyscale/client/openapi_client/models/projectdefaultsessionname_response.py +121 -0
  552. anyscale/client/openapi_client/models/projects_sort_field.py +101 -0
  553. anyscale/client/openapi_client/models/projects_violating_tree_hierarchy_response.py +121 -0
  554. anyscale/client/openapi_client/models/projectsviolatingtreehierarchyresponse_response.py +121 -0
  555. anyscale/client/openapi_client/models/protocols.py +150 -0
  556. anyscale/client/openapi_client/models/provider_metadata.py +205 -0
  557. anyscale/client/openapi_client/models/providermetadata_response.py +121 -0
  558. anyscale/client/openapi_client/models/python_modules.py +150 -0
  559. anyscale/client/openapi_client/models/quota.py +198 -0
  560. anyscale/client/openapi_client/models/ray_gcs_external_storage_config.py +178 -0
  561. anyscale/client/openapi_client/models/ray_runtime_env_config.py +262 -0
  562. anyscale/client/openapi_client/models/read_billing_version.py +210 -0
  563. anyscale/client/openapi_client/models/readbillingversion_list_response.py +147 -0
  564. anyscale/client/openapi_client/models/replica_details.py +152 -0
  565. anyscale/client/openapi_client/models/replica_state.py +104 -0
  566. anyscale/client/openapi_client/models/request_email_magic_link_response.py +147 -0
  567. anyscale/client/openapi_client/models/request_otp_return_api_model.py +148 -0
  568. anyscale/client/openapi_client/models/request_password_reset_params.py +147 -0
  569. anyscale/client/openapi_client/models/requestemailmagiclinkresponse_response.py +121 -0
  570. anyscale/client/openapi_client/models/requestotpreturnapimodel_response.py +121 -0
  571. anyscale/client/openapi_client/models/reset_password_params.py +148 -0
  572. anyscale/client/openapi_client/models/resource_quota.py +465 -0
  573. anyscale/client/openapi_client/models/resource_quota_status.py +123 -0
  574. anyscale/client/openapi_client/models/resourcequota_list_response.py +147 -0
  575. anyscale/client/openapi_client/models/resourcequota_response.py +121 -0
  576. anyscale/client/openapi_client/models/resources.py +234 -0
  577. anyscale/client/openapi_client/models/resubmit_ft_job_request.py +121 -0
  578. anyscale/client/openapi_client/models/rollback_service_model.py +122 -0
  579. anyscale/client/openapi_client/models/rollout_strategy.py +100 -0
  580. anyscale/client/openapi_client/models/s3_download_location.py +148 -0
  581. anyscale/client/openapi_client/models/schedule_config.py +151 -0
  582. anyscale/client/openapi_client/models/serve_deployment_grafana_dashboard_status.py +101 -0
  583. anyscale/client/openapi_client/models/serve_deployment_logs.py +152 -0
  584. anyscale/client/openapi_client/models/serve_deployment_state.py +104 -0
  585. anyscale/client/openapi_client/models/servedeploymentlogs_response.py +121 -0
  586. anyscale/client/openapi_client/models/server_session_token.py +121 -0
  587. anyscale/client/openapi_client/models/serversessiontoken_response.py +121 -0
  588. anyscale/client/openapi_client/models/service_config.py +178 -0
  589. anyscale/client/openapi_client/models/service_event_current_state.py +108 -0
  590. anyscale/client/openapi_client/models/service_event_level.py +102 -0
  591. anyscale/client/openapi_client/models/service_event_origin.py +103 -0
  592. anyscale/client/openapi_client/models/service_event_scope.py +103 -0
  593. anyscale/client/openapi_client/models/service_event_scope_filter.py +104 -0
  594. anyscale/client/openapi_client/models/service_event_type.py +125 -0
  595. anyscale/client/openapi_client/models/service_event_verbose_message_model.py +180 -0
  596. anyscale/client/openapi_client/models/service_goal_states.py +100 -0
  597. anyscale/client/openapi_client/models/service_observability_urls.py +206 -0
  598. anyscale/client/openapi_client/models/service_sort_field.py +101 -0
  599. anyscale/client/openapi_client/models/service_type.py +100 -0
  600. anyscale/client/openapi_client/models/service_usage.py +353 -0
  601. anyscale/client/openapi_client/models/service_version_state.py +106 -0
  602. anyscale/client/openapi_client/models/serviceeventverbosemessagemodel_list_response.py +147 -0
  603. anyscale/client/openapi_client/models/session.py +834 -0
  604. anyscale/client/openapi_client/models/session_access.py +102 -0
  605. anyscale/client/openapi_client/models/session_autosync_sessions_update_message.py +121 -0
  606. anyscale/client/openapi_client/models/session_command.py +413 -0
  607. anyscale/client/openapi_client/models/session_command_finish_options.py +226 -0
  608. anyscale/client/openapi_client/models/session_command_id.py +121 -0
  609. anyscale/client/openapi_client/models/session_command_types.py +100 -0
  610. anyscale/client/openapi_client/models/session_create_message.py +148 -0
  611. anyscale/client/openapi_client/models/session_delete_message.py +121 -0
  612. anyscale/client/openapi_client/models/session_describe.py +175 -0
  613. anyscale/client/openapi_client/models/session_details.py +148 -0
  614. anyscale/client/openapi_client/models/session_event.py +267 -0
  615. anyscale/client/openapi_client/models/session_event_cause.py +150 -0
  616. anyscale/client/openapi_client/models/session_event_types.py +111 -0
  617. anyscale/client/openapi_client/models/session_execute_message.py +121 -0
  618. anyscale/client/openapi_client/models/session_finish_command_message.py +175 -0
  619. anyscale/client/openapi_client/models/session_history_item.py +146 -0
  620. anyscale/client/openapi_client/models/session_kill_command_message.py +121 -0
  621. anyscale/client/openapi_client/models/session_list_response.py +147 -0
  622. anyscale/client/openapi_client/models/session_patch_message.py +121 -0
  623. anyscale/client/openapi_client/models/session_response.py +121 -0
  624. anyscale/client/openapi_client/models/session_ssh_key.py +148 -0
  625. anyscale/client/openapi_client/models/session_starting_up_data.py +146 -0
  626. anyscale/client/openapi_client/models/session_state.py +111 -0
  627. anyscale/client/openapi_client/models/session_state_change_message.py +121 -0
  628. anyscale/client/openapi_client/models/session_state_data.py +146 -0
  629. anyscale/client/openapi_client/models/session_stopping_data.py +146 -0
  630. anyscale/client/openapi_client/models/sessioncommand_list_response.py +147 -0
  631. anyscale/client/openapi_client/models/sessioncommandid_response.py +121 -0
  632. anyscale/client/openapi_client/models/sessiondescribe_response.py +121 -0
  633. anyscale/client/openapi_client/models/sessiondetails_response.py +121 -0
  634. anyscale/client/openapi_client/models/sessionevent_list_response.py +147 -0
  635. anyscale/client/openapi_client/models/sessionhistoryitem_list_response.py +147 -0
  636. anyscale/client/openapi_client/models/sessions_sort_field.py +104 -0
  637. anyscale/client/openapi_client/models/sessionsshkey_response.py +121 -0
  638. anyscale/client/openapi_client/models/setup_initialize_session_options.py +225 -0
  639. anyscale/client/openapi_client/models/show_otp_source_return_api_model.py +121 -0
  640. anyscale/client/openapi_client/models/showotpsourcereturnapimodel_response.py +121 -0
  641. anyscale/client/openapi_client/models/snapshot_create_message.py +148 -0
  642. anyscale/client/openapi_client/models/snapshot_delete_message.py +148 -0
  643. anyscale/client/openapi_client/models/snapshot_patch_message.py +148 -0
  644. anyscale/client/openapi_client/models/socket_message_schemas.py +499 -0
  645. anyscale/client/openapi_client/models/socket_message_types.py +113 -0
  646. anyscale/client/openapi_client/models/socketmessageschemas_response.py +121 -0
  647. anyscale/client/openapi_client/models/socketmessagetypes_response.py +121 -0
  648. anyscale/client/openapi_client/models/sort_order.py +100 -0
  649. anyscale/client/openapi_client/models/sso_login_info.py +151 -0
  650. anyscale/client/openapi_client/models/ssologininfo_response.py +121 -0
  651. anyscale/client/openapi_client/models/start_session_options.py +146 -0
  652. anyscale/client/openapi_client/models/stop_session_options.py +227 -0
  653. anyscale/client/openapi_client/models/stream_publish_request.py +239 -0
  654. anyscale/client/openapi_client/models/subnet_id_with_availability_zone_aws.py +148 -0
  655. anyscale/client/openapi_client/models/support_requests_query.py +178 -0
  656. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +1570 -0
  657. anyscale/client/openapi_client/models/templatized_compute_configs.py +202 -0
  658. anyscale/client/openapi_client/models/templatized_decorated_application_templates.py +202 -0
  659. anyscale/client/openapi_client/models/templatizedcomputeconfigs_response.py +121 -0
  660. anyscale/client/openapi_client/models/templatizeddecoratedapplicationtemplates_response.py +121 -0
  661. anyscale/client/openapi_client/models/text_query.py +178 -0
  662. anyscale/client/openapi_client/models/timestamped_logs_output.py +148 -0
  663. anyscale/client/openapi_client/models/timestampedlogsoutput_response.py +121 -0
  664. anyscale/client/openapi_client/models/tool.py +100 -0
  665. anyscale/client/openapi_client/models/tracing_config.py +178 -0
  666. anyscale/client/openapi_client/models/try_login_email_response.py +208 -0
  667. anyscale/client/openapi_client/models/tryloginemailresponse_response.py +121 -0
  668. anyscale/client/openapi_client/models/unified_job_sort_field.py +103 -0
  669. anyscale/client/openapi_client/models/unified_job_status.py +114 -0
  670. anyscale/client/openapi_client/models/unified_job_type.py +100 -0
  671. anyscale/client/openapi_client/models/update_cloud_with_cloud_resource.py +178 -0
  672. anyscale/client/openapi_client/models/update_cloud_with_cloud_resource_gcp.py +178 -0
  673. anyscale/client/openapi_client/models/update_cluster_dns.py +152 -0
  674. anyscale/client/openapi_client/models/update_compute_template.py +146 -0
  675. anyscale/client/openapi_client/models/update_compute_template_config.py +464 -0
  676. anyscale/client/openapi_client/models/update_endpoint.py +152 -0
  677. anyscale/client/openapi_client/models/update_machine_pool_request.py +151 -0
  678. anyscale/client/openapi_client/models/update_model_deployment.py +152 -0
  679. anyscale/client/openapi_client/models/update_organization_collaborator.py +121 -0
  680. anyscale/client/openapi_client/models/update_project_collaborator.py +121 -0
  681. anyscale/client/openapi_client/models/update_resource_quota.py +122 -0
  682. anyscale/client/openapi_client/models/updatemachinepoolresponse_response.py +121 -0
  683. anyscale/client/openapi_client/models/upload_session_command_logs_locations.py +148 -0
  684. anyscale/client/openapi_client/models/uploadsessioncommandlogslocations_response.py +121 -0
  685. anyscale/client/openapi_client/models/user_info.py +569 -0
  686. anyscale/client/openapi_client/models/user_resend_email_options.py +147 -0
  687. anyscale/client/openapi_client/models/user_service_access_types.py +100 -0
  688. anyscale/client/openapi_client/models/userinfo_response.py +121 -0
  689. anyscale/client/openapi_client/models/utm_fields.py +224 -0
  690. anyscale/client/openapi_client/models/ux_instance.py +468 -0
  691. anyscale/client/openapi_client/models/validate_otp_params_api_model.py +121 -0
  692. anyscale/client/openapi_client/models/validation_error.py +175 -0
  693. anyscale/client/openapi_client/models/verify_response.py +147 -0
  694. anyscale/client/openapi_client/models/verifyresponse_response.py +121 -0
  695. anyscale/client/openapi_client/models/visibility.py +100 -0
  696. anyscale/client/openapi_client/models/waitlist_status_response.py +121 -0
  697. anyscale/client/openapi_client/models/waitlist_status_type.py +100 -0
  698. anyscale/client/openapi_client/models/waitliststatusresponse_response.py +121 -0
  699. anyscale/client/openapi_client/models/wand_b_run_details.py +147 -0
  700. anyscale/client/openapi_client/models/web_terminal.py +121 -0
  701. anyscale/client/openapi_client/models/webterminal_list_response.py +147 -0
  702. anyscale/client/openapi_client/models/webterminal_response.py +121 -0
  703. anyscale/client/openapi_client/models/worker_node_type.py +404 -0
  704. anyscale/client/openapi_client/models/workload_type.py +102 -0
  705. anyscale/client/openapi_client/models/workspace_dataplane_artifact.py +181 -0
  706. anyscale/client/openapi_client/models/workspace_dataplane_artifacts.py +123 -0
  707. anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +178 -0
  708. anyscale/client/openapi_client/models/workspace_event.py +325 -0
  709. anyscale/client/openapi_client/models/workspace_event_source.py +100 -0
  710. anyscale/client/openapi_client/models/workspace_event_source_filter.py +101 -0
  711. anyscale/client/openapi_client/models/workspace_readme.py +123 -0
  712. anyscale/client/openapi_client/models/workspace_snapshot_states.py +108 -0
  713. anyscale/client/openapi_client/models/workspace_template.py +353 -0
  714. anyscale/client/openapi_client/models/workspace_template_cluster_environment_metadata.py +178 -0
  715. anyscale/client/openapi_client/models/workspacedataplaneartifacts_response.py +121 -0
  716. anyscale/client/openapi_client/models/workspacedataplaneproxiedartifacts_response.py +121 -0
  717. anyscale/client/openapi_client/models/workspaceevent_list_response.py +147 -0
  718. anyscale/client/openapi_client/models/workspacereadme_response.py +121 -0
  719. anyscale/client/openapi_client/models/workspacetemplate_list_response.py +147 -0
  720. anyscale/client/openapi_client/models/workspacetemplateclusterenvironmentmetadata_response.py +121 -0
  721. anyscale/client/openapi_client/models/write_cloud.py +546 -0
  722. anyscale/client/openapi_client/models/write_cluster_config.py +123 -0
  723. anyscale/client/openapi_client/models/write_project.py +226 -0
  724. anyscale/client/openapi_client/models/write_session.py +147 -0
  725. anyscale/client/openapi_client/models/write_support_request.py +121 -0
  726. anyscale/client/openapi_client/rest.py +296 -0
  727. anyscale/client/requirements.txt +6 -0
  728. anyscale/client/setup.cfg +2 -0
  729. anyscale/client/setup.py +40 -0
  730. anyscale/client/test-requirements.txt +3 -0
  731. anyscale/client/tox.ini +9 -0
  732. anyscale/cloud.py +216 -0
  733. anyscale/cloud_resource.py +1032 -0
  734. anyscale/cluster.py +138 -0
  735. anyscale/cluster_compute.py +167 -0
  736. anyscale/cluster_env.py +173 -0
  737. anyscale/commands/__init__.py +0 -0
  738. anyscale/commands/aggregated_instance_usage_commands.py +86 -0
  739. anyscale/commands/anyscale_api/__init__.py +0 -0
  740. anyscale/commands/anyscale_api/api_commands.py +23 -0
  741. anyscale/commands/anyscale_api/session_commands_commands.py +80 -0
  742. anyscale/commands/anyscale_api/session_operations_commands.py +28 -0
  743. anyscale/commands/anyscale_api/sessions_commands.py +152 -0
  744. anyscale/commands/auth_commands.py +41 -0
  745. anyscale/commands/cloud_commands.py +1011 -0
  746. anyscale/commands/cloud_commands_util.py +10 -0
  747. anyscale/commands/cluster_commands.py +476 -0
  748. anyscale/commands/cluster_env_commands.py +139 -0
  749. anyscale/commands/command_examples.py +495 -0
  750. anyscale/commands/compute_config_commands.py +252 -0
  751. anyscale/commands/config_commands.py +213 -0
  752. anyscale/commands/exec_commands.py +14 -0
  753. anyscale/commands/experimental_integrations_commands.py +70 -0
  754. anyscale/commands/image_commands.py +125 -0
  755. anyscale/commands/job_commands.py +745 -0
  756. anyscale/commands/list_commands.py +85 -0
  757. anyscale/commands/llm/dataset_commands.py +269 -0
  758. anyscale/commands/llm/group.py +15 -0
  759. anyscale/commands/llm/models_commands.py +123 -0
  760. anyscale/commands/login_commands.py +79 -0
  761. anyscale/commands/logs_commands.py +312 -0
  762. anyscale/commands/machine_commands.py +116 -0
  763. anyscale/commands/machine_pool_commands.py +163 -0
  764. anyscale/commands/migrate_commands.py +84 -0
  765. anyscale/commands/project_commands.py +203 -0
  766. anyscale/commands/resource_quota_commands.py +214 -0
  767. anyscale/commands/schedule_commands.py +436 -0
  768. anyscale/commands/service_account_commands.py +72 -0
  769. anyscale/commands/service_commands.py +738 -0
  770. anyscale/commands/session_commands_hidden.py +179 -0
  771. anyscale/commands/util.py +152 -0
  772. anyscale/commands/workspace_commands.py +511 -0
  773. anyscale/commands/workspace_commands_v2.py +874 -0
  774. anyscale/component_activity_util.py +83 -0
  775. anyscale/compute_config/__init__.py +84 -0
  776. anyscale/compute_config/_private/compute_config_sdk.py +433 -0
  777. anyscale/compute_config/commands.py +122 -0
  778. anyscale/compute_config/models.py +630 -0
  779. anyscale/conf.py +23 -0
  780. anyscale/connect.py +1323 -0
  781. anyscale/connect_utils/__init__.py +0 -0
  782. anyscale/connect_utils/prepare_cluster.py +962 -0
  783. anyscale/connect_utils/project.py +298 -0
  784. anyscale/connect_utils/start_interactive_session.py +437 -0
  785. anyscale/controllers/__init__.py +0 -0
  786. anyscale/controllers/auth_controller.py +134 -0
  787. anyscale/controllers/base_controller.py +52 -0
  788. anyscale/controllers/cloud_controller.py +3609 -0
  789. anyscale/controllers/cloud_functional_verification_controller.py +858 -0
  790. anyscale/controllers/cluster_controller.py +720 -0
  791. anyscale/controllers/cluster_env_controller.py +219 -0
  792. anyscale/controllers/compute_config_controller.py +351 -0
  793. anyscale/controllers/config_controller.py +422 -0
  794. anyscale/controllers/experimental_integrations_controller.py +80 -0
  795. anyscale/controllers/job_controller.py +647 -0
  796. anyscale/controllers/jobs_bg_controller.py +0 -0
  797. anyscale/controllers/list_controller.py +290 -0
  798. anyscale/controllers/llm/__init__.py +0 -0
  799. anyscale/controllers/llm/models_controller.py +144 -0
  800. anyscale/controllers/logs_controller.py +449 -0
  801. anyscale/controllers/machine_controller.py +37 -0
  802. anyscale/controllers/machine_pool_controller.py +86 -0
  803. anyscale/controllers/project_controller.py +281 -0
  804. anyscale/controllers/resource_quota_controller.py +183 -0
  805. anyscale/controllers/schedule_controller.py +333 -0
  806. anyscale/controllers/service_account_controller.py +168 -0
  807. anyscale/controllers/service_controller.py +453 -0
  808. anyscale/controllers/workspace_controller.py +253 -0
  809. anyscale/feature_flags.py +4 -0
  810. anyscale/fingerprint.py +62 -0
  811. anyscale/formatters/__init__.py +0 -0
  812. anyscale/formatters/clouds_formatter.py +65 -0
  813. anyscale/formatters/common_formatter.py +22 -0
  814. anyscale/gcp_verification.py +792 -0
  815. anyscale/image/__init__.py +73 -0
  816. anyscale/image/_private/image_sdk.py +202 -0
  817. anyscale/image/commands.py +117 -0
  818. anyscale/image/models.py +57 -0
  819. anyscale/integrations.py +329 -0
  820. anyscale/job/__init__.py +166 -0
  821. anyscale/job/_private/job_sdk.py +497 -0
  822. anyscale/job/commands.py +267 -0
  823. anyscale/job/models.py +500 -0
  824. anyscale/links.py +4 -0
  825. anyscale/llm/__init__.py +2 -0
  826. anyscale/llm/dataset/__init__.py +2 -0
  827. anyscale/llm/dataset/_private/__init__.py +0 -0
  828. anyscale/llm/dataset/_private/docs.py +63 -0
  829. anyscale/llm/dataset/_private/models.py +71 -0
  830. anyscale/llm/dataset/_private/sdk.py +147 -0
  831. anyscale/llm/model/__init__.py +2 -0
  832. anyscale/llm/model/_private/models_sdk.py +62 -0
  833. anyscale/llm/model/commands.py +93 -0
  834. anyscale/llm/model/models.py +171 -0
  835. anyscale/llm/model/sdk.py +62 -0
  836. anyscale/llm/sdk.py +27 -0
  837. anyscale/memorydb_supported_zones.json +22 -0
  838. anyscale/models/job_model.py +457 -0
  839. anyscale/models/service_model.py +125 -0
  840. anyscale/project.py +501 -0
  841. anyscale/schedule/__init__.py +91 -0
  842. anyscale/schedule/_private/schedule_sdk.py +165 -0
  843. anyscale/schedule/commands.py +149 -0
  844. anyscale/schedule/models.py +145 -0
  845. anyscale/scripts.py +164 -0
  846. anyscale/sdk/anyscale_client/__init__.py +235 -0
  847. anyscale/sdk/anyscale_client/api/__init__.py +6 -0
  848. anyscale/sdk/anyscale_client/api/default_api.py +11625 -0
  849. anyscale/sdk/anyscale_client/api_client.py +647 -0
  850. anyscale/sdk/anyscale_client/configuration.py +373 -0
  851. anyscale/sdk/anyscale_client/exceptions.py +120 -0
  852. anyscale/sdk/anyscale_client/models/__init__.py +220 -0
  853. anyscale/sdk/anyscale_client/models/access_config.py +122 -0
  854. anyscale/sdk/anyscale_client/models/app_config.py +436 -0
  855. anyscale/sdk/anyscale_client/models/app_config_config_schema.py +235 -0
  856. anyscale/sdk/anyscale_client/models/appconfig_list_response.py +147 -0
  857. anyscale/sdk/anyscale_client/models/appconfig_response.py +121 -0
  858. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +490 -0
  859. anyscale/sdk/anyscale_client/models/apply_service_model.py +490 -0
  860. anyscale/sdk/anyscale_client/models/archive_status.py +101 -0
  861. anyscale/sdk/anyscale_client/models/base_job_status.py +105 -0
  862. anyscale/sdk/anyscale_client/models/baseimagesenum.py +2130 -0
  863. anyscale/sdk/anyscale_client/models/build.py +607 -0
  864. anyscale/sdk/anyscale_client/models/build_list_response.py +147 -0
  865. anyscale/sdk/anyscale_client/models/build_log_response.py +123 -0
  866. anyscale/sdk/anyscale_client/models/build_response.py +121 -0
  867. anyscale/sdk/anyscale_client/models/build_status.py +104 -0
  868. anyscale/sdk/anyscale_client/models/buildlogresponse_response.py +121 -0
  869. anyscale/sdk/anyscale_client/models/cloud.py +802 -0
  870. anyscale/sdk/anyscale_client/models/cloud_config.py +206 -0
  871. anyscale/sdk/anyscale_client/models/cloud_list_response.py +147 -0
  872. anyscale/sdk/anyscale_client/models/cloud_providers.py +103 -0
  873. anyscale/sdk/anyscale_client/models/cloud_response.py +121 -0
  874. anyscale/sdk/anyscale_client/models/cloud_state.py +104 -0
  875. anyscale/sdk/anyscale_client/models/cloud_status.py +100 -0
  876. anyscale/sdk/anyscale_client/models/cloud_type.py +100 -0
  877. anyscale/sdk/anyscale_client/models/cloud_types.py +100 -0
  878. anyscale/sdk/anyscale_client/models/cloud_version.py +100 -0
  879. anyscale/sdk/anyscale_client/models/clouds_query.py +150 -0
  880. anyscale/sdk/anyscale_client/models/cluster.py +721 -0
  881. anyscale/sdk/anyscale_client/models/cluster_compute.py +415 -0
  882. anyscale/sdk/anyscale_client/models/cluster_compute_config.py +461 -0
  883. anyscale/sdk/anyscale_client/models/cluster_computes_query.py +293 -0
  884. anyscale/sdk/anyscale_client/models/cluster_environment.py +380 -0
  885. anyscale/sdk/anyscale_client/models/cluster_environment_build.py +578 -0
  886. anyscale/sdk/anyscale_client/models/cluster_environment_build_log_response.py +123 -0
  887. anyscale/sdk/anyscale_client/models/cluster_environment_build_operation.py +237 -0
  888. anyscale/sdk/anyscale_client/models/cluster_environment_build_status.py +104 -0
  889. anyscale/sdk/anyscale_client/models/cluster_environments_query.py +290 -0
  890. anyscale/sdk/anyscale_client/models/cluster_head_node_info.py +152 -0
  891. anyscale/sdk/anyscale_client/models/cluster_list_response.py +147 -0
  892. anyscale/sdk/anyscale_client/models/cluster_management_stack_versions.py +100 -0
  893. anyscale/sdk/anyscale_client/models/cluster_operation.py +266 -0
  894. anyscale/sdk/anyscale_client/models/cluster_operation_type.py +101 -0
  895. anyscale/sdk/anyscale_client/models/cluster_response.py +121 -0
  896. anyscale/sdk/anyscale_client/models/cluster_services_urls.py +430 -0
  897. anyscale/sdk/anyscale_client/models/cluster_state.py +108 -0
  898. anyscale/sdk/anyscale_client/models/cluster_status.py +104 -0
  899. anyscale/sdk/anyscale_client/models/cluster_status_details.py +100 -0
  900. anyscale/sdk/anyscale_client/models/clustercompute_list_response.py +147 -0
  901. anyscale/sdk/anyscale_client/models/clustercompute_response.py +121 -0
  902. anyscale/sdk/anyscale_client/models/clusterenvironment_list_response.py +147 -0
  903. anyscale/sdk/anyscale_client/models/clusterenvironment_response.py +121 -0
  904. anyscale/sdk/anyscale_client/models/clusterenvironmentbuild_list_response.py +147 -0
  905. anyscale/sdk/anyscale_client/models/clusterenvironmentbuild_response.py +121 -0
  906. anyscale/sdk/anyscale_client/models/clusterenvironmentbuildlogresponse_response.py +121 -0
  907. anyscale/sdk/anyscale_client/models/clusterenvironmentbuildoperation_response.py +121 -0
  908. anyscale/sdk/anyscale_client/models/clusteroperation_response.py +121 -0
  909. anyscale/sdk/anyscale_client/models/clusters_query.py +234 -0
  910. anyscale/sdk/anyscale_client/models/compute_node_type.py +292 -0
  911. anyscale/sdk/anyscale_client/models/compute_stack.py +100 -0
  912. anyscale/sdk/anyscale_client/models/compute_template.py +415 -0
  913. anyscale/sdk/anyscale_client/models/compute_template_config.py +461 -0
  914. anyscale/sdk/anyscale_client/models/compute_template_query.py +316 -0
  915. anyscale/sdk/anyscale_client/models/computetemplate_list_response.py +147 -0
  916. anyscale/sdk/anyscale_client/models/computetemplate_response.py +121 -0
  917. anyscale/sdk/anyscale_client/models/computetemplateconfig_response.py +121 -0
  918. anyscale/sdk/anyscale_client/models/create_app_config.py +235 -0
  919. anyscale/sdk/anyscale_client/models/create_app_config_configuration_schema.py +235 -0
  920. anyscale/sdk/anyscale_client/models/create_build.py +263 -0
  921. anyscale/sdk/anyscale_client/models/create_byod_app_config_configuration_schema.py +206 -0
  922. anyscale/sdk/anyscale_client/models/create_byod_cluster_environment.py +180 -0
  923. anyscale/sdk/anyscale_client/models/create_byod_cluster_environment_build.py +152 -0
  924. anyscale/sdk/anyscale_client/models/create_byod_cluster_environment_configuration_schema.py +208 -0
  925. anyscale/sdk/anyscale_client/models/create_cloud.py +518 -0
  926. anyscale/sdk/anyscale_client/models/create_cluster.py +376 -0
  927. anyscale/sdk/anyscale_client/models/create_cluster_compute.py +229 -0
  928. anyscale/sdk/anyscale_client/models/create_cluster_compute_config.py +463 -0
  929. anyscale/sdk/anyscale_client/models/create_cluster_environment.py +235 -0
  930. anyscale/sdk/anyscale_client/models/create_cluster_environment_build.py +263 -0
  931. anyscale/sdk/anyscale_client/models/create_cluster_environment_configuration_schema.py +235 -0
  932. anyscale/sdk/anyscale_client/models/create_compute_template.py +229 -0
  933. anyscale/sdk/anyscale_client/models/create_compute_template_config.py +464 -0
  934. anyscale/sdk/anyscale_client/models/create_job_queue_config.py +206 -0
  935. anyscale/sdk/anyscale_client/models/create_production_job.py +234 -0
  936. anyscale/sdk/anyscale_client/models/create_production_job_config.py +347 -0
  937. anyscale/sdk/anyscale_client/models/create_project.py +207 -0
  938. anyscale/sdk/anyscale_client/models/create_schedule.py +263 -0
  939. anyscale/sdk/anyscale_client/models/create_session.py +432 -0
  940. anyscale/sdk/anyscale_client/models/create_session_command.py +152 -0
  941. anyscale/sdk/anyscale_client/models/create_sso_config.py +150 -0
  942. anyscale/sdk/anyscale_client/models/grpc_protocol_config.py +178 -0
  943. anyscale/sdk/anyscale_client/models/ha_job_goal_states.py +102 -0
  944. anyscale/sdk/anyscale_client/models/ha_job_states.py +109 -0
  945. anyscale/sdk/anyscale_client/models/http_protocol_config.py +150 -0
  946. anyscale/sdk/anyscale_client/models/http_validation_error.py +120 -0
  947. anyscale/sdk/anyscale_client/models/idle_termination_status.py +104 -0
  948. anyscale/sdk/anyscale_client/models/job.py +466 -0
  949. anyscale/sdk/anyscale_client/models/job_list_response.py +147 -0
  950. anyscale/sdk/anyscale_client/models/job_queue_config.py +122 -0
  951. anyscale/sdk/anyscale_client/models/job_queue_execution_mode.py +101 -0
  952. anyscale/sdk/anyscale_client/models/job_queue_spec.py +263 -0
  953. anyscale/sdk/anyscale_client/models/job_run_type.py +101 -0
  954. anyscale/sdk/anyscale_client/models/job_status.py +105 -0
  955. anyscale/sdk/anyscale_client/models/jobs_query.py +458 -0
  956. anyscale/sdk/anyscale_client/models/jobs_sort_field.py +104 -0
  957. anyscale/sdk/anyscale_client/models/list_response_metadata.py +146 -0
  958. anyscale/sdk/anyscale_client/models/list_service_model.py +347 -0
  959. anyscale/sdk/anyscale_client/models/listservicemodel_list_response.py +147 -0
  960. anyscale/sdk/anyscale_client/models/log_download_result.py +207 -0
  961. anyscale/sdk/anyscale_client/models/log_file_chunk.py +439 -0
  962. anyscale/sdk/anyscale_client/models/log_level_types.py +100 -0
  963. anyscale/sdk/anyscale_client/models/log_stream.py +151 -0
  964. anyscale/sdk/anyscale_client/models/logdownloadresult_response.py +121 -0
  965. anyscale/sdk/anyscale_client/models/logstream_response.py +121 -0
  966. anyscale/sdk/anyscale_client/models/node_type.py +100 -0
  967. anyscale/sdk/anyscale_client/models/object_storage_config.py +122 -0
  968. anyscale/sdk/anyscale_client/models/object_storage_config_s3.py +256 -0
  969. anyscale/sdk/anyscale_client/models/objectstorageconfig_response.py +121 -0
  970. anyscale/sdk/anyscale_client/models/operation_error.py +123 -0
  971. anyscale/sdk/anyscale_client/models/operation_progress.py +123 -0
  972. anyscale/sdk/anyscale_client/models/operation_result.py +150 -0
  973. anyscale/sdk/anyscale_client/models/organization.py +209 -0
  974. anyscale/sdk/anyscale_client/models/organization_response.py +121 -0
  975. anyscale/sdk/anyscale_client/models/page_query.py +153 -0
  976. anyscale/sdk/anyscale_client/models/pause_schedule.py +123 -0
  977. anyscale/sdk/anyscale_client/models/production_job.py +437 -0
  978. anyscale/sdk/anyscale_client/models/production_job_config.py +348 -0
  979. anyscale/sdk/anyscale_client/models/production_job_state_transition.py +293 -0
  980. anyscale/sdk/anyscale_client/models/production_service_v2_model.py +612 -0
  981. anyscale/sdk/anyscale_client/models/production_service_v2_version_model.py +437 -0
  982. anyscale/sdk/anyscale_client/models/productionjob_list_response.py +147 -0
  983. anyscale/sdk/anyscale_client/models/productionjob_response.py +121 -0
  984. anyscale/sdk/anyscale_client/models/productionservicev2_model_response.py +121 -0
  985. anyscale/sdk/anyscale_client/models/project.py +467 -0
  986. anyscale/sdk/anyscale_client/models/project_list_response.py +147 -0
  987. anyscale/sdk/anyscale_client/models/project_response.py +121 -0
  988. anyscale/sdk/anyscale_client/models/projects_query.py +234 -0
  989. anyscale/sdk/anyscale_client/models/protocols.py +150 -0
  990. anyscale/sdk/anyscale_client/models/python_modules.py +150 -0
  991. anyscale/sdk/anyscale_client/models/python_version.py +105 -0
  992. anyscale/sdk/anyscale_client/models/ray_gcs_external_storage_config.py +178 -0
  993. anyscale/sdk/anyscale_client/models/ray_runtime_env_config.py +262 -0
  994. anyscale/sdk/anyscale_client/models/resources.py +234 -0
  995. anyscale/sdk/anyscale_client/models/rollback_service_model.py +122 -0
  996. anyscale/sdk/anyscale_client/models/rollout_strategy.py +100 -0
  997. anyscale/sdk/anyscale_client/models/runtime_environment.py +406 -0
  998. anyscale/sdk/anyscale_client/models/runtimeenvironment_response.py +121 -0
  999. anyscale/sdk/anyscale_client/models/schedule_api_model.py +467 -0
  1000. anyscale/sdk/anyscale_client/models/schedule_config.py +151 -0
  1001. anyscale/sdk/anyscale_client/models/scheduleapimodel_list_response.py +147 -0
  1002. anyscale/sdk/anyscale_client/models/scheduleapimodel_response.py +121 -0
  1003. anyscale/sdk/anyscale_client/models/service_config.py +178 -0
  1004. anyscale/sdk/anyscale_client/models/service_event_current_state.py +108 -0
  1005. anyscale/sdk/anyscale_client/models/service_goal_states.py +100 -0
  1006. anyscale/sdk/anyscale_client/models/service_model.py +612 -0
  1007. anyscale/sdk/anyscale_client/models/service_observability_urls.py +206 -0
  1008. anyscale/sdk/anyscale_client/models/service_sort_field.py +101 -0
  1009. anyscale/sdk/anyscale_client/models/service_type.py +100 -0
  1010. anyscale/sdk/anyscale_client/models/service_version_state.py +106 -0
  1011. anyscale/sdk/anyscale_client/models/servicemodel_list_response.py +147 -0
  1012. anyscale/sdk/anyscale_client/models/servicemodel_response.py +121 -0
  1013. anyscale/sdk/anyscale_client/models/session.py +1535 -0
  1014. anyscale/sdk/anyscale_client/models/session_command.py +350 -0
  1015. anyscale/sdk/anyscale_client/models/session_command_types.py +100 -0
  1016. anyscale/sdk/anyscale_client/models/session_event.py +267 -0
  1017. anyscale/sdk/anyscale_client/models/session_event_cause.py +150 -0
  1018. anyscale/sdk/anyscale_client/models/session_event_types.py +111 -0
  1019. anyscale/sdk/anyscale_client/models/session_list_response.py +147 -0
  1020. anyscale/sdk/anyscale_client/models/session_operation.py +266 -0
  1021. anyscale/sdk/anyscale_client/models/session_operation_type.py +101 -0
  1022. anyscale/sdk/anyscale_client/models/session_response.py +121 -0
  1023. anyscale/sdk/anyscale_client/models/session_starting_up_data.py +146 -0
  1024. anyscale/sdk/anyscale_client/models/session_state.py +111 -0
  1025. anyscale/sdk/anyscale_client/models/session_state_data.py +146 -0
  1026. anyscale/sdk/anyscale_client/models/session_stopping_data.py +146 -0
  1027. anyscale/sdk/anyscale_client/models/sessioncommand_list_response.py +147 -0
  1028. anyscale/sdk/anyscale_client/models/sessioncommand_response.py +121 -0
  1029. anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +147 -0
  1030. anyscale/sdk/anyscale_client/models/sessionoperation_response.py +121 -0
  1031. anyscale/sdk/anyscale_client/models/sessions_query.py +206 -0
  1032. anyscale/sdk/anyscale_client/models/sort_by_clause_jobs_sort_field.py +148 -0
  1033. anyscale/sdk/anyscale_client/models/sort_order.py +100 -0
  1034. anyscale/sdk/anyscale_client/models/sso_config.py +237 -0
  1035. anyscale/sdk/anyscale_client/models/sso_mode.py +101 -0
  1036. anyscale/sdk/anyscale_client/models/ssoconfig_response.py +121 -0
  1037. anyscale/sdk/anyscale_client/models/start_cluster_options.py +178 -0
  1038. anyscale/sdk/anyscale_client/models/start_session_options.py +206 -0
  1039. anyscale/sdk/anyscale_client/models/static_sso_config.py +210 -0
  1040. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +1570 -0
  1041. anyscale/sdk/anyscale_client/models/terminate_cluster_options.py +122 -0
  1042. anyscale/sdk/anyscale_client/models/terminate_session_options.py +206 -0
  1043. anyscale/sdk/anyscale_client/models/text_query.py +178 -0
  1044. anyscale/sdk/anyscale_client/models/tracing_config.py +178 -0
  1045. anyscale/sdk/anyscale_client/models/update_app_config.py +122 -0
  1046. anyscale/sdk/anyscale_client/models/update_cloud.py +150 -0
  1047. anyscale/sdk/anyscale_client/models/update_cluster.py +206 -0
  1048. anyscale/sdk/anyscale_client/models/update_compute_template.py +146 -0
  1049. anyscale/sdk/anyscale_client/models/update_compute_template_config.py +464 -0
  1050. anyscale/sdk/anyscale_client/models/update_organization.py +123 -0
  1051. anyscale/sdk/anyscale_client/models/update_project.py +150 -0
  1052. anyscale/sdk/anyscale_client/models/update_session.py +150 -0
  1053. anyscale/sdk/anyscale_client/models/user_service_access_types.py +100 -0
  1054. anyscale/sdk/anyscale_client/models/ux_instance.py +468 -0
  1055. anyscale/sdk/anyscale_client/models/validation_error.py +175 -0
  1056. anyscale/sdk/anyscale_client/models/worker_node_type.py +404 -0
  1057. anyscale/sdk/anyscale_client/rest.py +296 -0
  1058. anyscale/sdk/anyscale_client/sdk.py +634 -0
  1059. anyscale/service/__init__.py +168 -0
  1060. anyscale/service/_private/service_sdk.py +702 -0
  1061. anyscale/service/commands.py +261 -0
  1062. anyscale/service/models.py +671 -0
  1063. anyscale/shared_anyscale_utils/__init__.py +1 -0
  1064. anyscale/shared_anyscale_utils/aws.py +153 -0
  1065. anyscale/shared_anyscale_utils/bytes_util.py +10 -0
  1066. anyscale/shared_anyscale_utils/conf.py +47 -0
  1067. anyscale/shared_anyscale_utils/default_anyscale_aws.yaml +74 -0
  1068. anyscale/shared_anyscale_utils/default_anyscale_gcp.yaml +80 -0
  1069. anyscale/shared_anyscale_utils/headers.py +38 -0
  1070. anyscale/shared_anyscale_utils/latest_ray_version.py +2 -0
  1071. anyscale/shared_anyscale_utils/project.py +15 -0
  1072. anyscale/shared_anyscale_utils/test_util.py +22 -0
  1073. anyscale/shared_anyscale_utils/tests/__init__.py +1 -0
  1074. anyscale/shared_anyscale_utils/tests/test_asyncio.py +41 -0
  1075. anyscale/shared_anyscale_utils/tests/test_ray_semver.py +63 -0
  1076. anyscale/shared_anyscale_utils/util.py +50 -0
  1077. anyscale/shared_anyscale_utils/utils/__init__.py +2 -0
  1078. anyscale/shared_anyscale_utils/utils/asyncio.py +120 -0
  1079. anyscale/shared_anyscale_utils/utils/byod.py +40 -0
  1080. anyscale/shared_anyscale_utils/utils/collections.py +33 -0
  1081. anyscale/shared_anyscale_utils/utils/id_gen.py +147 -0
  1082. anyscale/shared_anyscale_utils/utils/protected_string.py +89 -0
  1083. anyscale/shared_anyscale_utils/utils/ray_semver.py +81 -0
  1084. anyscale/snapshot.py +46 -0
  1085. anyscale/tables.py +82 -0
  1086. anyscale/util.py +1155 -0
  1087. anyscale/utils/__init__.py +0 -0
  1088. anyscale/utils/cli_version_check_util.py +63 -0
  1089. anyscale/utils/cloud_update_utils.py +862 -0
  1090. anyscale/utils/cloud_utils.py +317 -0
  1091. anyscale/utils/cluster_debug.py +191 -0
  1092. anyscale/utils/connect_helpers.py +155 -0
  1093. anyscale/utils/deprecation_util.py +32 -0
  1094. anyscale/utils/entity_arg_utils.py +43 -0
  1095. anyscale/utils/env_utils.py +17 -0
  1096. anyscale/utils/gcp_managed_setup_utils.py +888 -0
  1097. anyscale/utils/gcp_utils.py +312 -0
  1098. anyscale/utils/imports/__init__.py +0 -0
  1099. anyscale/utils/imports/all.py +13 -0
  1100. anyscale/utils/imports/azure.py +14 -0
  1101. anyscale/utils/imports/gcp.py +59 -0
  1102. anyscale/utils/logs_utils.py +141 -0
  1103. anyscale/utils/name_utils.py +33 -0
  1104. anyscale/utils/network_verification.py +153 -0
  1105. anyscale/utils/ray_utils.py +128 -0
  1106. anyscale/utils/ray_version_checker.py +48 -0
  1107. anyscale/utils/ray_version_utils.py +53 -0
  1108. anyscale/utils/runtime_env.py +487 -0
  1109. anyscale/utils/s3.py +92 -0
  1110. anyscale/utils/user_utils.py +17 -0
  1111. anyscale/utils/workload_types.py +7 -0
  1112. anyscale/utils/workspace_notification.py +39 -0
  1113. anyscale/utils/workspace_utils.py +65 -0
  1114. anyscale/version.py +1 -0
  1115. anyscale/webterminal/__init__.py +0 -0
  1116. anyscale/webterminal/bash-preexec.sh +370 -0
  1117. anyscale/webterminal/command_persister.py +164 -0
  1118. anyscale/webterminal/utils.py +176 -0
  1119. anyscale/webterminal/webterminal.py +311 -0
  1120. anyscale/workspace/__init__.py +270 -0
  1121. anyscale/workspace/_private/workspace_sdk.py +737 -0
  1122. anyscale/workspace/commands.py +472 -0
  1123. anyscale/workspace/models.py +296 -0
  1124. anyscale/workspace_utils.py +35 -0
  1125. anyscale-0.24.86.dist-info/LICENSE +68 -0
  1126. anyscale-0.24.86.dist-info/METADATA +82 -0
  1127. anyscale-0.24.86.dist-info/NOTICE +6 -0
  1128. anyscale-0.24.86.dist-info/RECORD +1131 -0
  1129. anyscale-0.24.86.dist-info/WHEEL +5 -0
  1130. anyscale-0.24.86.dist-info/entry_points.txt +2 -0
  1131. anyscale-0.24.86.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1254 @@
1
+ ## v1.10.12 (2023-07-24)
2
+
3
+ * Fixes the `maxlen` property being dropped on `deque` validation. Happened only if the deque item has been typed. Changes the `_validate_sequence_like` func, #6581 by @maciekglowka
4
+
5
+ ## v1.10.11 (2023-07-04)
6
+
7
+ * Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #6361 by @SharathHuddar
8
+
9
+ ## v2.0b3 (2023-06-16)
10
+
11
+ Third beta pre-release of Pydantic V2
12
+
13
+ See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0b3)
14
+
15
+ ## v2.0b2 (2023-06-03)
16
+
17
+ Add `from_attributes` runtime flag to `TypeAdapter.validate_python` and `BaseModel.model_validate`.
18
+
19
+ See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0b2)
20
+
21
+ ## v2.0b1 (2023-06-01)
22
+
23
+ First beta pre-release of Pydantic V2
24
+
25
+ See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0b1)
26
+
27
+ ## v2.0a4 (2023-05-05)
28
+
29
+ Fourth pre-release of Pydantic V2
30
+
31
+ See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0a4)
32
+
33
+ ## v2.0a3 (2023-04-20)
34
+
35
+ Third pre-release of Pydantic V2
36
+
37
+ See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0a3)
38
+
39
+ ## v2.0a2 (2023-04-12)
40
+
41
+ Second pre-release of Pydantic V2
42
+
43
+ See the full changelog [here](https://github.com/pydantic/pydantic/releases/tag/v2.0a2)
44
+
45
+ ## v2.0a1 (2023-04-03)
46
+
47
+ First pre-release of Pydantic V2!
48
+
49
+ See [this post](https://docs.pydantic.dev/blog/pydantic-v2-alpha/) for more details.
50
+
51
+ ## v1.10.10 (2023-06-30)
52
+
53
+ * Add Pydantic `Json` field support to settings management, #6250 by @hramezani
54
+ * Fixed literal validator errors for unhashable values, #6188 by @markus1978
55
+ * Fixed bug with generics receiving forward refs, #6130 by @mark-todd
56
+ * Update install method of FastAPI for internal tests in CI, #6117 by @Kludex
57
+
58
+ ## v1.10.9 (2023-06-07)
59
+
60
+ * Fix trailing zeros not ignored in Decimal validation, #5968 by @hramezani
61
+ * Fix mypy plugin for v1.4.0, #5928 by @cdce8p
62
+ * Add future and past date hypothesis strategies, #5850 by @bschoenmaeckers
63
+ * Discourage usage of Cython 3 with Pydantic 1.x, #5845 by @lig
64
+
65
+ ## v1.10.8 (2023-05-23)
66
+
67
+ * Fix a bug in `Literal` usage with `typing-extension==4.6.0`, #5826 by @hramezani
68
+ * This solves the (closed) issue #3849 where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, #5736 by @benwah
69
+ * Update email-validator dependency to >=2.0.0post2, #5627 by @adriangb
70
+ * update `AnyClassMethod` for changes in [python/typeshed#9771](https://github.com/python/typeshed/issues/9771), #5505 by @ITProKyle
71
+
72
+ ## v1.10.7 (2023-03-22)
73
+
74
+ * Fix creating schema from model using `ConstrainedStr` with `regex` as dict key, #5223 by @matejetz
75
+ * Address bug in mypy plugin caused by explicit_package_bases=True, #5191 by @dmontagu
76
+ * Add implicit defaults in the mypy plugin for Field with no default argument, #5190 by @dmontagu
77
+ * Fix schema generated for Enum values used as Literals in discriminated unions, #5188 by @javibookline
78
+ * Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes, #5187 by @dmontagu
79
+ * Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin, #5162 by @cdce8p
80
+
81
+ ## v1.10.6 (2023-03-08)
82
+
83
+ * Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping `functools.partial` and `functools.partialmethod` when checking the signature, #5126 by @JensHeinrich
84
+ * Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator for pydantic dataclasses, #5111 by @cdce8p
85
+ * Raise `ValidationError`, not `ConfigError`, when a discriminator value is unhashable, #4773 by @kurtmckee
86
+
87
+ ## v1.10.5 (2023-02-15)
88
+
89
+ * Fix broken parametrized bases handling with `GenericModel`s with complex sets of models, #5052 by @MarkusSintonen
90
+ * Invalidate mypy cache if plugin config changes, #5007 by @cdce8p
91
+ * Fix `RecursionError` when deep-copying dataclass types wrapped by pydantic, #4949 by @mbillingr
92
+ * Fix `X | Y` union syntax breaking `GenericModel`, #4146 by @thenx
93
+ * Switch coverage badge to show coverage for this branch/release, #5060 by @samuelcolvin
94
+
95
+ ## v1.10.4 (2022-12-30)
96
+
97
+ * Change dependency to `typing-extensions>=4.2.0`, #4885 by @samuelcolvin
98
+
99
+ ## v1.10.3 (2022-12-29)
100
+
101
+ **NOTE: v1.10.3 was ["yanked"](https://pypi.org/help/#yanked) from PyPI due to #4885 which is fixed in v1.10.4**
102
+
103
+ * fix parsing of custom root models, #4883 by @gou177
104
+ * fix: use dataclass proxy for frozen or empty dataclasses, #4878 by @PrettyWood
105
+ * Fix `schema` and `schema_json` on models where a model instance is a one of default values, #4781 by @Bobronium
106
+ * Add Jina AI to sponsors on docs index page, #4767 by @samuelcolvin
107
+ * fix: support assignment on `DataclassProxy`, #4695 by @PrettyWood
108
+ * Add `postgresql+psycopg` as allowed scheme for `PostgreDsn` to make it usable with SQLAlchemy 2, #4689 by @morian
109
+ * Allow dict schemas to have both `patternProperties` and `additionalProperties`, #4641 by @jparise
110
+ * Fixes error passing None for optional lists with `unique_items`, #4568 by @mfulgo
111
+ * Fix `GenericModel` with `Callable` param raising a `TypeError`, #4551 by @mfulgo
112
+ * Fix field regex with `StrictStr` type annotation, #4538 by @sisp
113
+ * Correct `dataclass_transform` keyword argument name from `field_descriptors` to `field_specifiers`, #4500 by @samuelcolvin
114
+ * fix: avoid multiple calls of `__post_init__` when dataclasses are inherited, #4487 by @PrettyWood
115
+ * Reduce the size of binary wheels, #2276 by @samuelcolvin
116
+
117
+ ## v1.10.2 (2022-09-05)
118
+
119
+ * **Revert Change:** Revert percent encoding of URL parts which was originally added in #4224, #4470 by @samuelcolvin
120
+ * Prevent long (length > `4_300`) strings/bytes as input to int fields, see
121
+ [python/cpython#95778](https://github.com/python/cpython/issues/95778) and
122
+ [CVE-2020-10735](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735), #1477 by @samuelcolvin
123
+ * fix: dataclass wrapper was not always called, #4477 by @PrettyWood
124
+ * Use `tomllib` on Python 3.11 when parsing `mypy` configuration, #4476 by @hauntsaninja
125
+ * Basic fix of `GenericModel` cache to detect order of arguments in `Union` models, #4474 by @sveinugu
126
+ * Fix mypy plugin when using bare types like `list` and `dict` as `default_factory`, #4457 by @samuelcolvin
127
+
128
+ ## v1.10.1 (2022-08-31)
129
+
130
+ * Add `__hash__` method to `pydancic.color.Color` class, #4454 by @czaki
131
+
132
+ ## v1.10.0 (2022-08-30)
133
+
134
+ * Refactor the whole _pydantic_ `dataclass` decorator to really act like its standard lib equivalent.
135
+ It hence keeps `__eq__`, `__hash__`, ... and makes comparison with its non-validated version possible.
136
+ It also fixes usage of `frozen` dataclasses in fields and usage of `default_factory` in nested dataclasses.
137
+ The support of `Config.extra` has been added.
138
+ Finally, config customization directly via a `dict` is now possible, #2557 by @PrettyWood
139
+ <br/><br/>
140
+ **BREAKING CHANGES:**
141
+ - The `compiled` boolean (whether _pydantic_ is compiled with cython) has been moved from `main.py` to `version.py`
142
+ - Now that `Config.extra` is supported, `dataclass` ignores by default extra arguments (like `BaseModel`)
143
+ * Fix PEP487 `__set_name__` protocol in `BaseModel` for PrivateAttrs, #4407 by @tlambert03
144
+ * Allow for custom parsing of environment variables via `parse_env_var` in `Config`, #4406 by @acmiyaguchi
145
+ * Rename `master` to `main`, #4405 by @hramezani
146
+ * Fix `StrictStr` does not raise `ValidationError` when `max_length` is present in `Field`, #4388 by @hramezani
147
+ * Make `SecretStr` and `SecretBytes` hashable, #4387 by @chbndrhnns
148
+ * Fix `StrictBytes` does not raise `ValidationError` when `max_length` is present in `Field`, #4380 by @JeanArhancet
149
+ * Add support for bare `type`, #4375 by @hramezani
150
+ * Support Python 3.11, including binaries for 3.11 in PyPI, #4374 by @samuelcolvin
151
+ * Add support for `re.Pattern`, #4366 by @hramezani
152
+ * Fix `__post_init_post_parse__` is incorrectly passed keyword arguments when no `__post_init__` is defined, #4361 by @hramezani
153
+ * Fix implicitly importing `ForwardRef` and `Callable` from `pydantic.typing` instead of `typing` and also expose `MappingIntStrAny`, #4358 by @aminalaee
154
+ * remove `Any` types from the `dataclass` decorator so it can be used with the `disallow_any_expr` mypy option, #4356 by @DetachHead
155
+ * moved repo to `pydantic/pydantic`, #4348 by @yezz123
156
+ * fix "extra fields not permitted" error when dataclass with `Extra.forbid` is validated multiple times, #4343 by @detachhead
157
+ * Add Python 3.9 and 3.10 examples to docs, #4339 by @Bobronium
158
+ * Discriminated union models now use `oneOf` instead of `anyOf` when generating OpenAPI schema definitions, #4335 by @MaxwellPayne
159
+ * Allow type checkers to infer inner type of `Json` type. `Json[list[str]]` will be now inferred as `list[str]`,
160
+ `Json[Any]` should be used instead of plain `Json`.
161
+ Runtime behaviour is not changed, #4332 by @Bobronium
162
+ * Allow empty string aliases by using a `alias is not None` check, rather than `bool(alias)`, #4253 by @sergeytsaplin
163
+ * Update `ForwardRef`s in `Field.outer_type_`, #4249 by @JacobHayes
164
+ * The use of `__dataclass_transform__` has been replaced by `typing_extensions.dataclass_transform`, which is the preferred way to mark pydantic models as a dataclass under [PEP 681](https://peps.python.org/pep-0681/), #4241 by @multimeric
165
+ * Use parent model's `Config` when validating nested `NamedTuple` fields, #4219 by @synek
166
+ * Update `BaseModel.construct` to work with aliased Fields, #4192 by @kylebamos
167
+ * Catch certain raised errors in `smart_deepcopy` and revert to `deepcopy` if so, #4184 by @coneybeare
168
+ * Add `Config.anystr_upper` and `to_upper` kwarg to constr and conbytes, #4165 by @satheler
169
+ * Fix JSON schema for `set` and `frozenset` when they include default values, #4155 by @aminalaee
170
+ * Teach the mypy plugin that methods decorated by `@validator` are classmethods, #4102 by @DMRobertson
171
+ * Improve mypy plugin's ability to detect required fields, #4086 by @richardxia
172
+ * Support fields of type `Type[]` in schema, #4051 by @aminalaee
173
+ * Add `default` value in JSON Schema when `const=True`, #4031 by @aminalaee
174
+ * Adds reserved word check to signature generation logic, #4011 by @strue36
175
+ * Fix Json strategy failure for the complex nested field, #4005 by @sergiosim
176
+ * Add JSON-compatible float constraint `allow_inf_nan`, #3994 by @tiangolo
177
+ * Remove undefined behaviour when `env_prefix` had characters in common with `env_nested_delimiter`, #3975 by @arsenron
178
+ * Support generics model with `create_model`, #3945 by @hot123s
179
+ * allow submodels to overwrite extra field info, #3934 by @PrettyWood
180
+ * Document and test structural pattern matching ([PEP 636](https://peps.python.org/pep-0636/)) on `BaseModel`, #3920 by @irgolic
181
+ * Fix incorrect deserialization of python timedelta object to ISO 8601 for negative time deltas.
182
+ Minus was serialized in incorrect place ("P-1DT23H59M59.888735S" instead of correct "-P1DT23H59M59.888735S"), #3899 by @07pepa
183
+ * Fix validation of discriminated union fields with an alias when passing a model instance, #3846 by @chornsby
184
+ * Add a CockroachDsn type to validate CockroachDB connection strings. The type
185
+ supports the following schemes: `cockroachdb`, `cockroachdb+psycopg2` and `cockroachdb+asyncpg`, #3839 by @blubber
186
+ * Fix MyPy plugin to not override pre-existing `__init__` method in models, #3824 by @patrick91
187
+ * Fix mypy version checking, #3783 by @KotlinIsland
188
+ * support overwriting dunder attributes of `BaseModel` instances, #3777 by @PrettyWood
189
+ * Added `ConstrainedDate` and `condate`, #3740 by @hottwaj
190
+ * Support `kw_only` in dataclasses, #3670 by @detachhead
191
+ * Add comparison method for `Color` class, #3646 by @aminalaee
192
+ * Drop support for python3.6, associated cleanup, #3605 by @samuelcolvin
193
+ * created new function `to_lower_camel()` for "non pascal case" camel case, #3463 by @schlerp
194
+ * Add checks to `default` and `default_factory` arguments in Mypy plugin, #3430 by @klaa97
195
+ * fix mangling of `inspect.signature` for `BaseModel`, #3413 by @fix-inspect-signature
196
+ * Adds the `SecretField` abstract class so that all the current and future secret fields like `SecretStr` and `SecretBytes` will derive from it, #3409 by @expobrain
197
+ * Support multi hosts validation in `PostgresDsn`, #3337 by @rglsk
198
+ * Fix parsing of very small numeric timedelta values, #3315 by @samuelcolvin
199
+ * Update `SecretsSettingsSource` to respect `config.case_sensitive`, #3273 by @JeanArhancet
200
+ * Add MongoDB network data source name (DSN) schema, #3229 by @snosratiershad
201
+ * Add support for multiple dotenv files, #3222 by @rekyungmin
202
+ * Raise an explicit `ConfigError` when multiple fields are incorrectly set for a single validator, #3215 by @SunsetOrange
203
+ * Allow ellipsis on `Field`s inside `Annotated` for `TypedDicts` required, #3133 by @ezegomez
204
+ * Catch overflow errors in `int_validator`, #3112 by @ojii
205
+ * Adds a `__rich_repr__` method to `Representation` class which enables pretty printing with [Rich](https://github.com/willmcgugan/rich), #3099 by @willmcgugan
206
+ * Add percent encoding in `AnyUrl` and descendent types, #3061 by @FaresAhmedb
207
+ * `validate_arguments` decorator now supports `alias`, #3019 by @MAD-py
208
+ * Avoid `__dict__` and `__weakref__` attributes in `AnyUrl` and IP address fields, #2890 by @nuno-andre
209
+ * Add ability to use `Final` in a field type annotation, #2766 by @uriyyo
210
+ * Update requirement to `typing_extensions>=4.1.0` to guarantee `dataclass_transform` is available, #4424 by @commonism
211
+ * Add Explosion and AWS to main sponsors, #4413 by @samuelcolvin
212
+ * Update documentation for `copy_on_model_validation` to reflect recent changes, #4369 by @samuelcolvin
213
+ * Runtime warning if `__slots__` is passed to `create_model`, `__slots__` is then ignored, #4432 by @samuelcolvin
214
+ * Add type hints to `BaseSettings.Config` to avoid mypy errors, also correct mypy version compatibility notice in docs, #4450 by @samuelcolvin
215
+
216
+ ## v1.10.0b1 (2022-08-24)
217
+
218
+ Pre-release, see [the GitHub release](https://github.com/pydantic/pydantic/releases/tag/v1.10.0b1) for details.
219
+
220
+ ## v1.10.0a2 (2022-08-24)
221
+
222
+ Pre-release, see [the GitHub release](https://github.com/pydantic/pydantic/releases/tag/v1.10.0a2) for details.
223
+
224
+ ## v1.10.0a1 (2022-08-22)
225
+
226
+ Pre-release, see [the GitHub release](https://github.com/pydantic/pydantic/releases/tag/v1.10.0a1) for details.
227
+
228
+ ## v1.9.2 (2022-08-11)
229
+
230
+ **Revert Breaking Change**: _v1.9.1_ introduced a breaking change where model fields were
231
+ deep copied by default, this release reverts the default behaviour to match _v1.9.0_ and before,
232
+ while also allow deep-copy behaviour via `copy_on_model_validation = 'deep'`. See #4092 for more information.
233
+
234
+ * Allow for shallow copies of model fields, `Config.copy_on_model_validation` is now a str which must be
235
+ `'none'`, `'deep'`, or `'shallow'` corresponding to not copying, deep copy & shallow copy; default `'shallow'`,
236
+ #4093 by @timkpaine
237
+
238
+ ## v1.9.1 (2022-05-19)
239
+
240
+ Thank you to pydantic's sponsors:
241
+ @tiangolo, @stellargraph, @JonasKs, @grillazz, @Mazyod, @kevinalh, @chdsbd, @povilasb, @povilasb, @jina-ai,
242
+ @mainframeindustries, @robusta-dev, @SendCloud, @rszamszur, @jodal, @hardbyte, @corleyma, @daddycocoaman,
243
+ @Rehket, @jokull, @reillysiemens, @westonsteimel, @primer-io, @koxudaxi, @browniebroke, @stradivari96,
244
+ @adriangb, @kamalgill, @jqueguiner, @dev-zero, @datarootsio, @RedCarpetUp
245
+ for their kind support.
246
+
247
+ * Limit the size of `generics._generic_types_cache` and `generics._assigned_parameters`
248
+ to avoid unlimited increase in memory usage, #4083 by @samuelcolvin
249
+ * Add Jupyverse and FPS as Jupyter projects using pydantic, #4082 by @davidbrochart
250
+ * Speedup `__isinstancecheck__` on pydantic models when the type is not a model, may also avoid memory "leaks", #4081 by @samuelcolvin
251
+ * Fix in-place modification of `FieldInfo` that caused problems with PEP 593 type aliases, #4067 by @adriangb
252
+ * Add support for autocomplete in VS Code via `__dataclass_transform__` when using `pydantic.dataclasses.dataclass`, #4006 by @giuliano-oliveira
253
+ * Remove benchmarks from codebase and docs, #3973 by @samuelcolvin
254
+ * Typing checking with pyright in CI, improve docs on vscode/pylance/pyright, #3972 by @samuelcolvin
255
+ * Fix nested Python dataclass schema regression, #3819 by @himbeles
256
+ * Update documentation about lazy evaluation of sources for Settings, #3806 by @garyd203
257
+ * Prevent subclasses of bytes being converted to bytes, #3706 by @samuelcolvin
258
+ * Fixed "error checking inheritance of" when using PEP585 and PEP604 type hints, #3681 by @aleksul
259
+ * Allow self referencing `ClassVar`s in models, #3679 by @samuelcolvin
260
+ * **Breaking Change, see #4106**: Fix issue with self-referencing dataclass, #3675 by @uriyyo
261
+ * Include non-standard port numbers in rendered URLs, #3652 by @dolfinus
262
+ * `Config.copy_on_model_validation` does a deep copy and not a shallow one, #3641 by @PrettyWood
263
+ * fix: clarify that discriminated unions do not support singletons, #3636 by @tommilligan
264
+ * Add `read_text(encoding='utf-8')` for `setup.py`, #3625 by @hswong3i
265
+ * Fix JSON Schema generation for Discriminated Unions within lists, #3608 by @samuelcolvin
266
+
267
+ ## v1.9.0 (2021-12-31)
268
+
269
+ Thank you to pydantic's sponsors:
270
+ @sthagen, @timdrijvers, @toinbis, @koxudaxi, @ginomempin, @primer-io, @and-semakin, @westonsteimel, @reillysiemens,
271
+ @es3n1n, @jokull, @JonasKs, @Rehket, @corleyma, @daddycocoaman, @hardbyte, @datarootsio, @jodal, @aminalaee, @rafsaf,
272
+ @jqueguiner, @chdsbd, @kevinalh, @Mazyod, @grillazz, @JonasKs, @simw, @leynier, @xfenix
273
+ for their kind support.
274
+
275
+ ### Highlights
276
+
277
+ * add Python 3.10 support, #2885 by @PrettyWood
278
+ * [Discriminated unions](https://docs.pydantic.dev/usage/types/#discriminated-unions-aka-tagged-unions), #619 by @PrettyWood
279
+ * [`Config.smart_union` for better union logic](https://docs.pydantic.dev/usage/model_config/#smart-union), #2092 by @PrettyWood
280
+ * Binaries for Macos M1 CPUs, #3498 by @samuelcolvin
281
+ * Complex types can be set via [nested environment variables](https://docs.pydantic.dev/usage/settings/#parsing-environment-variable-values), e.g. `foo___bar`, #3159 by @Air-Mark
282
+ * add a dark mode to _pydantic_ documentation, #2913 by @gbdlin
283
+ * Add support for autocomplete in VS Code via `__dataclass_transform__`, #2721 by @tiangolo
284
+ * Add "exclude" as a field parameter so that it can be configured using model config, #660 by @daviskirk
285
+
286
+ ### v1.9.0 (2021-12-31) Changes
287
+
288
+ * Apply `update_forward_refs` to `Config.json_encodes` prevent name clashes in types defined via strings, #3583 by @samuelcolvin
289
+ * Extend pydantic's mypy plugin to support mypy versions `0.910`, `0.920`, `0.921` & `0.930`, #3573 & #3594 by @PrettyWood, @christianbundy, @samuelcolvin
290
+
291
+ ### v1.9.0a2 (2021-12-24) Changes
292
+
293
+ * support generic models with discriminated union, #3551 by @PrettyWood
294
+ * keep old behaviour of `json()` by default, #3542 by @PrettyWood
295
+ * Removed typing-only `__root__` attribute from `BaseModel`, #3540 by @layday
296
+ * Build Python 3.10 wheels, #3539 by @mbachry
297
+ * Fix display of `extra` fields with model `__repr__`, #3234 by @cocolman
298
+ * models copied via `Config.copy_on_model_validation` always have all fields, #3201 by @PrettyWood
299
+ * nested ORM from nested dictionaries, #3182 by @PrettyWood
300
+ * fix link to discriminated union section by @PrettyWood
301
+
302
+ ### v1.9.0a1 (2021-12-18) Changes
303
+
304
+ * Add support for `Decimal`-specific validation configurations in `Field()`, additionally to using `condecimal()`,
305
+ to allow better support from editors and tooling, #3507 by @tiangolo
306
+ * Add `arm64` binaries suitable for MacOS with an M1 CPU to PyPI, #3498 by @samuelcolvin
307
+ * Fix issue where `None` was considered invalid when using a `Union` type containing `Any` or `object`, #3444 by @tharradine
308
+ * When generating field schema, pass optional `field` argument (of type
309
+ `pydantic.fields.ModelField`) to `__modify_schema__()` if present, #3434 by @jasujm
310
+ * Fix issue when pydantic fail to parse `typing.ClassVar` string type annotation, #3401 by @uriyyo
311
+ * Mention Python >= 3.9.2 as an alternative to `typing_extensions.TypedDict`, #3374 by @BvB93
312
+ * Changed the validator method name in the [Custom Errors example](https://docs.pydantic.dev/usage/models/#custom-errors)
313
+ to more accurately describe what the validator is doing; changed from `name_must_contain_space` to ` value_must_equal_bar`, #3327 by @michaelrios28
314
+ * Add `AmqpDsn` class, #3254 by @kludex
315
+ * Always use `Enum` value as default in generated JSON schema, #3190 by @joaommartins
316
+ * Add support for Mypy 0.920, #3175 by @christianbundy
317
+ * `validate_arguments` now supports `extra` customization (used to always be `Extra.forbid`), #3161 by @PrettyWood
318
+ * Complex types can be set by nested environment variables, #3159 by @Air-Mark
319
+ * Fix mypy plugin to collect fields based on `pydantic.utils.is_valid_field` so that it ignores untyped private variables, #3146 by @hi-ogawa
320
+ * fix `validate_arguments` issue with `Config.validate_all`, #3135 by @PrettyWood
321
+ * avoid dict coercion when using dict subclasses as field type, #3122 by @PrettyWood
322
+ * add support for `object` type, #3062 by @PrettyWood
323
+ * Updates pydantic dataclasses to keep `_special` properties on parent classes, #3043 by @zulrang
324
+ * Add a `TypedDict` class for error objects, #3038 by @matthewhughes934
325
+ * Fix support for using a subclass of an annotation as a default, #3018 by @JacobHayes
326
+ * make `create_model_from_typeddict` mypy compliant, #3008 by @PrettyWood
327
+ * Make multiple inheritance work when using `PrivateAttr`, #2989 by @hmvp
328
+ * Parse environment variables as JSON, if they have a `Union` type with a complex subfield, #2936 by @cbartz
329
+ * Prevent `StrictStr` permitting `Enum` values where the enum inherits from `str`, #2929 by @samuelcolvin
330
+ * Make `SecretsSettingsSource` parse values being assigned to fields of complex types when sourced from a secrets file,
331
+ just as when sourced from environment variables, #2917 by @davidmreed
332
+ * add a dark mode to _pydantic_ documentation, #2913 by @gbdlin
333
+ * Make `pydantic-mypy` plugin compatible with `pyproject.toml` configuration, consistent with `mypy` changes.
334
+ See the [doc](https://docs.pydantic.dev/mypy_plugin/#configuring-the-plugin) for more information, #2908 by @jrwalk
335
+ * add Python 3.10 support, #2885 by @PrettyWood
336
+ * Correctly parse generic models with `Json[T]`, #2860 by @geekingfrog
337
+ * Update contrib docs re: Python version to use for building docs, #2856 by @paxcodes
338
+ * Clarify documentation about _pydantic_'s support for custom validation and strict type checking,
339
+ despite _pydantic_ being primarily a parsing library, #2855 by @paxcodes
340
+ * Fix schema generation for `Deque` fields, #2810 by @sergejkozin
341
+ * fix an edge case when mixing constraints and `Literal`, #2794 by @PrettyWood
342
+ * Fix postponed annotation resolution for `NamedTuple` and `TypedDict` when they're used directly as the type of fields
343
+ within Pydantic models, #2760 by @jameysharp
344
+ * Fix bug when `mypy` plugin fails on `construct` method call for `BaseSettings` derived classes, #2753 by @uriyyo
345
+ * Add function overloading for a `pydantic.create_model` function, #2748 by @uriyyo
346
+ * Fix mypy plugin issue with self field declaration, #2743 by @uriyyo
347
+ * The colon at the end of the line "The fields which were supplied when user was initialised:" suggests that the code following it is related.
348
+ Changed it to a period, #2733 by @krisaoe
349
+ * Renamed variable `schema` to `schema_` to avoid shadowing of global variable name, #2724 by @shahriyarr
350
+ * Add support for autocomplete in VS Code via `__dataclass_transform__`, #2721 by @tiangolo
351
+ * add missing type annotations in `BaseConfig` and handle `max_length = 0`, #2719 by @PrettyWood
352
+ * Change `orm_mode` checking to allow recursive ORM mode parsing with dicts, #2718 by @nuno-andre
353
+ * Add episode 313 of the *Talk Python To Me* podcast, where Michael Kennedy and Samuel Colvin discuss *pydantic*, to the docs, #2712 by @RatulMaharaj
354
+ * fix JSON schema generation when a field is of type `NamedTuple` and has a default value, #2707 by @PrettyWood
355
+ * `Enum` fields now properly support extra kwargs in schema generation, #2697 by @sammchardy
356
+ * **Breaking Change, see #3780**: Make serialization of referenced pydantic models possible, #2650 by @PrettyWood
357
+ * Add `uniqueItems` option to `ConstrainedList`, #2618 by @nuno-andre
358
+ * Try to evaluate forward refs automatically at model creation, #2588 by @uriyyo
359
+ * Switch docs preview and coverage display to use [smokeshow](https://smokeshow.helpmanual.io/), #2580 by @samuelcolvin
360
+ * Add `__version__` attribute to pydantic module, #2572 by @paxcodes
361
+ * Add `postgresql+asyncpg`, `postgresql+pg8000`, `postgresql+psycopg2`, `postgresql+psycopg2cffi`, `postgresql+py-postgresql`
362
+ and `postgresql+pygresql` schemes for `PostgresDsn`, #2567 by @postgres-asyncpg
363
+ * Enable the Hypothesis plugin to generate a constrained decimal when the `decimal_places` argument is specified, #2524 by @cwe5590
364
+ * Allow `collections.abc.Callable` to be used as type in Python 3.9, #2519 by @daviskirk
365
+ * Documentation update how to custom compile pydantic when using pip install, small change in `setup.py`
366
+ to allow for custom CFLAGS when compiling, #2517 by @peterroelants
367
+ * remove side effect of `default_factory` to run it only once even if `Config.validate_all` is set, #2515 by @PrettyWood
368
+ * Add lookahead to ip regexes for `AnyUrl` hosts. This allows urls with DNS labels
369
+ looking like IPs to validate as they are perfectly valid host names, #2512 by @sbv-csis
370
+ * Set `minItems` and `maxItems` in generated JSON schema for fixed-length tuples, #2497 by @PrettyWood
371
+ * Add `strict` argument to `conbytes`, #2489 by @koxudaxi
372
+ * Support user defined generic field types in generic models, #2465 by @daviskirk
373
+ * Add an example and a short explanation of subclassing `GetterDict` to docs, #2463 by @nuno-andre
374
+ * add `KafkaDsn` type, `HttpUrl` now has default port 80 for http and 443 for https, #2447 by @MihanixA
375
+ * Add `PastDate` and `FutureDate` types, #2425 by @Kludex
376
+ * Support generating schema for `Generic` fields with subtypes, #2375 by @maximberg
377
+ * fix(encoder): serialize `NameEmail` to str, #2341 by @alecgerona
378
+ * add `Config.smart_union` to prevent coercion in `Union` if possible, see
379
+ [the doc](https://docs.pydantic.dev/usage/model_config/#smart-union) for more information, #2092 by @PrettyWood
380
+ * Add ability to use `typing.Counter` as a model field type, #2060 by @uriyyo
381
+ * Add parameterised subclasses to `__bases__` when constructing new parameterised classes, so that `A <: B => A[int] <: B[int]`, #2007 by @diabolo-dan
382
+ * Create `FileUrl` type that allows URLs that conform to [RFC 8089](https://tools.ietf.org/html/rfc8089#section-2).
383
+ Add `host_required` parameter, which is `True` by default (`AnyUrl` and subclasses), `False` in `RedisDsn`, `FileUrl`, #1983 by @vgerak
384
+ * add `confrozenset()`, analogous to `conset()` and `conlist()`, #1897 by @PrettyWood
385
+ * stop calling parent class `root_validator` if overridden, #1895 by @PrettyWood
386
+ * Add `repr` (defaults to `True`) parameter to `Field`, to hide it from the default representation of the `BaseModel`, #1831 by @fnep
387
+ * Accept empty query/fragment URL parts, #1807 by @xavier
388
+
389
+ ## v1.8.2 (2021-05-11)
390
+
391
+ !!! warning
392
+ A security vulnerability, level "moderate" is fixed in v1.8.2. Please upgrade **ASAP**.
393
+ See security advisory [CVE-2021-29510](https://github.com/pydantic/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh)
394
+
395
+ * **Security fix:** Fix `date` and `datetime` parsing so passing either `'infinity'` or `float('inf')`
396
+ (or their negative values) does not cause an infinite loop,
397
+ see security advisory [CVE-2021-29510](https://github.com/pydantic/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh)
398
+ * fix schema generation with Enum by generating a valid name, #2575 by @PrettyWood
399
+ * fix JSON schema generation with a `Literal` of an enum member, #2536 by @PrettyWood
400
+ * Fix bug with configurations declarations that are passed as
401
+ keyword arguments during class creation, #2532 by @uriyyo
402
+ * Allow passing `json_encoders` in class kwargs, #2521 by @layday
403
+ * support arbitrary types with custom `__eq__`, #2483 by @PrettyWood
404
+ * support `Annotated` in `validate_arguments` and in generic models with Python 3.9, #2483 by @PrettyWood
405
+
406
+ ## v1.8.1 (2021-03-03)
407
+
408
+ Bug fixes for regressions and new features from `v1.8`
409
+
410
+ * allow elements of `Config.field` to update elements of a `Field`, #2461 by @samuelcolvin
411
+ * fix validation with a `BaseModel` field and a custom root type, #2449 by @PrettyWood
412
+ * expose `Pattern` encoder to `fastapi`, #2444 by @PrettyWood
413
+ * enable the Hypothesis plugin to generate a constrained float when the `multiple_of` argument is specified, #2442 by @tobi-lipede-oodle
414
+ * Avoid `RecursionError` when using some types like `Enum` or `Literal` with generic models, #2436 by @PrettyWood
415
+ * do not overwrite declared `__hash__` in subclasses of a model, #2422 by @PrettyWood
416
+ * fix `mypy` complaints on `Path` and `UUID` related custom types, #2418 by @PrettyWood
417
+ * Support properly variable length tuples of compound types, #2416 by @PrettyWood
418
+
419
+ ## v1.8 (2021-02-26)
420
+
421
+ Thank you to pydantic's sponsors:
422
+ @jorgecarleitao, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @koxudaxi, @timdrijvers, @mkeen, @meadsteve,
423
+ @ginomempin, @primer-io, @and-semakin, @tomthorogood, @AjitZK, @westonsteimel, @Mazyod, @christippett, @CarlosDomingues,
424
+ @Kludex, @r-m-n
425
+ for their kind support.
426
+
427
+ ### Highlights
428
+
429
+ * [Hypothesis plugin](https://docs.pydantic.dev/hypothesis_plugin/) for testing, #2097 by @Zac-HD
430
+ * support for [`NamedTuple` and `TypedDict`](https://docs.pydantic.dev/usage/types/#annotated-types), #2216 by @PrettyWood
431
+ * Support [`Annotated` hints on model fields](https://docs.pydantic.dev/usage/schema/#typingannotated-fields), #2147 by @JacobHayes
432
+ * [`frozen` parameter on `Config`](https://docs.pydantic.dev/usage/model_config/) to allow models to be hashed, #1880 by @rhuille
433
+
434
+ ### Changes
435
+
436
+ * **Breaking Change**, remove old deprecation aliases from v1, #2415 by @samuelcolvin:
437
+ * remove notes on migrating to v1 in docs
438
+ * remove `Schema` which was replaced by `Field`
439
+ * remove `Config.case_insensitive` which was replaced by `Config.case_sensitive` (default `False`)
440
+ * remove `Config.allow_population_by_alias` which was replaced by `Config.allow_population_by_field_name`
441
+ * remove `model.fields` which was replaced by `model.__fields__`
442
+ * remove `model.to_string()` which was replaced by `str(model)`
443
+ * remove `model.__values__` which was replaced by `model.__dict__`
444
+ * **Breaking Change:** always validate only first sublevel items with `each_item`.
445
+ There were indeed some edge cases with some compound types where the validated items were the last sublevel ones, #1933 by @PrettyWood
446
+ * Update docs extensions to fix local syntax highlighting, #2400 by @daviskirk
447
+ * fix: allow `utils.lenient_issubclass` to handle `typing.GenericAlias` objects like `list[str]` in Python >= 3.9, #2399 by @daviskirk
448
+ * Improve field declaration for _pydantic_ `dataclass` by allowing the usage of _pydantic_ `Field` or `'metadata'` kwarg of `dataclasses.field`, #2384 by @PrettyWood
449
+ * Making `typing-extensions` a required dependency, #2368 by @samuelcolvin
450
+ * Make `resolve_annotations` more lenient, allowing for missing modules, #2363 by @samuelcolvin
451
+ * Allow configuring models through class kwargs, #2356 by @Bobronium
452
+ * Prevent `Mapping` subclasses from always being coerced to `dict`, #2325 by @ofek
453
+ * fix: allow `None` for type `Optional[conset / conlist]`, #2320 by @PrettyWood
454
+ * Support empty tuple type, #2318 by @PrettyWood
455
+ * fix: `python_requires` metadata to require >=3.6.1, #2306 by @hukkinj1
456
+ * Properly encode `Decimal` with, or without any decimal places, #2293 by @hultner
457
+ * fix: update `__fields_set__` in `BaseModel.copy(update=…)`, #2290 by @PrettyWood
458
+ * fix: keep order of fields with `BaseModel.construct()`, #2281 by @PrettyWood
459
+ * Support generating schema for Generic fields, #2262 by @maximberg
460
+ * Fix `validate_decorator` so `**kwargs` doesn't exclude values when the keyword
461
+ has the same name as the `*args` or `**kwargs` names, #2251 by @cybojenix
462
+ * Prevent overriding positional arguments with keyword arguments in
463
+ `validate_arguments`, as per behaviour with native functions, #2249 by @cybojenix
464
+ * add documentation for `con*` type functions, #2242 by @tayoogunbiyi
465
+ * Support custom root type (aka `__root__`) when using `parse_obj()` with nested models, #2238 by @PrettyWood
466
+ * Support custom root type (aka `__root__`) with `from_orm()`, #2237 by @PrettyWood
467
+ * ensure cythonized functions are left untouched when creating models, based on #1944 by @kollmats, #2228 by @samuelcolvin
468
+ * Resolve forward refs for stdlib dataclasses converted into _pydantic_ ones, #2220 by @PrettyWood
469
+ * Add support for `NamedTuple` and `TypedDict` types.
470
+ Those two types are now handled and validated when used inside `BaseModel` or _pydantic_ `dataclass`.
471
+ Two utils are also added `create_model_from_namedtuple` and `create_model_from_typeddict`, #2216 by @PrettyWood
472
+ * Do not ignore annotated fields when type is `Union[Type[...], ...]`, #2213 by @PrettyWood
473
+ * Raise a user-friendly `TypeError` when a `root_validator` does not return a `dict` (e.g. `None`), #2209 by @masalim2
474
+ * Add a `FrozenSet[str]` type annotation to the `allowed_schemes` argument on the `strict_url` field type, #2198 by @Midnighter
475
+ * add `allow_mutation` constraint to `Field`, #2195 by @sblack-usu
476
+ * Allow `Field` with a `default_factory` to be used as an argument to a function
477
+ decorated with `validate_arguments`, #2176 by @thomascobb
478
+ * Allow non-existent secrets directory by only issuing a warning, #2175 by @davidolrik
479
+ * fix URL regex to parse fragment without query string, #2168 by @andrewmwhite
480
+ * fix: ensure to always return one of the values in `Literal` field type, #2166 by @PrettyWood
481
+ * Support `typing.Annotated` hints on model fields. A `Field` may now be set in the type hint with `Annotated[..., Field(...)`; all other annotations are ignored but still visible with `get_type_hints(..., include_extras=True)`, #2147 by @JacobHayes
482
+ * Added `StrictBytes` type as well as `strict=False` option to `ConstrainedBytes`, #2136 by @rlizzo
483
+ * added `Config.anystr_lower` and `to_lower` kwarg to `constr` and `conbytes`, #2134 by @tayoogunbiyi
484
+ * Support plain `typing.Tuple` type, #2132 by @PrettyWood
485
+ * Add a bound method `validate` to functions decorated with `validate_arguments`
486
+ to validate parameters without actually calling the function, #2127 by @PrettyWood
487
+ * Add the ability to customize settings sources (add / disable / change priority order), #2107 by @kozlek
488
+ * Fix mypy complaints about most custom _pydantic_ types, #2098 by @PrettyWood
489
+ * Add a [Hypothesis](https://hypothesis.readthedocs.io/) plugin for easier [property-based testing](https://increment.com/testing/in-praise-of-property-based-testing/) with Pydantic's custom types - [usage details here](https://docs.pydantic.dev/hypothesis_plugin/), #2097 by @Zac-HD
490
+ * add validator for `None`, `NoneType` or `Literal[None]`, #2095 by @PrettyWood
491
+ * Handle properly fields of type `Callable` with a default value, #2094 by @PrettyWood
492
+ * Updated `create_model` return type annotation to return type which inherits from `__base__` argument, #2071 by @uriyyo
493
+ * Add merged `json_encoders` inheritance, #2064 by @art049
494
+ * allow overwriting `ClassVar`s in sub-models without having to re-annotate them, #2061 by @layday
495
+ * add default encoder for `Pattern` type, #2045 by @PrettyWood
496
+ * Add `NonNegativeInt`, `NonPositiveInt`, `NonNegativeFloat`, `NonPositiveFloat`, #1975 by @mdavis-xyz
497
+ * Use % for percentage in string format of colors, #1960 by @EdwardBetts
498
+ * Fixed issue causing `KeyError` to be raised when building schema from multiple `BaseModel` with the same names declared in separate classes, #1912 by @JSextonn
499
+ * Add `rediss` (Redis over SSL) protocol to `RedisDsn`
500
+ Allow URLs without `user` part (e.g., `rediss://:pass@localhost`), #1911 by @TrDex
501
+ * Add a new `frozen` boolean parameter to `Config` (default: `False`).
502
+ Setting `frozen=True` does everything that `allow_mutation=False` does, and also generates a `__hash__()` method for the model. This makes instances of the model potentially hashable if all the attributes are hashable, #1880 by @rhuille
503
+ * fix schema generation with multiple Enums having the same name, #1857 by @PrettyWood
504
+ * Added support for 13/19 digits VISA credit cards in `PaymentCardNumber` type, #1416 by @AlexanderSov
505
+ * fix: prevent `RecursionError` while using recursive `GenericModel`s, #1370 by @xppt
506
+ * use `enum` for `typing.Literal` in JSON schema, #1350 by @PrettyWood
507
+ * Fix: some recursive models did not require `update_forward_refs` and silently behaved incorrectly, #1201 by @PrettyWood
508
+ * Fix bug where generic models with fields where the typevar is nested in another type `a: List[T]` are considered to be concrete. This allows these models to be subclassed and composed as expected, #947 by @daviskirk
509
+ * Add `Config.copy_on_model_validation` flag. When set to `False`, _pydantic_ will keep models used as fields
510
+ untouched on validation instead of reconstructing (copying) them, #265 by @PrettyWood
511
+
512
+ ## v1.7.4 (2021-05-11)
513
+
514
+ * **Security fix:** Fix `date` and `datetime` parsing so passing either `'infinity'` or `float('inf')`
515
+ (or their negative values) does not cause an infinite loop,
516
+ See security advisory [CVE-2021-29510](https://github.com/pydantic/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh)
517
+
518
+ ## v1.7.3 (2020-11-30)
519
+
520
+ Thank you to pydantic's sponsors:
521
+ @timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api,
522
+ @mkeen, @meadsteve for their kind support.
523
+
524
+ * fix: set right default value for required (optional) fields, #2142 by @PrettyWood
525
+ * fix: support `underscore_attrs_are_private` with generic models, #2138 by @PrettyWood
526
+ * fix: update all modified field values in `root_validator` when `validate_assignment` is on, #2116 by @PrettyWood
527
+ * Allow pickling of `pydantic.dataclasses.dataclass` dynamically created from a built-in `dataclasses.dataclass`, #2111 by @aimestereo
528
+ * Fix a regression where Enum fields would not propagate keyword arguments to the schema, #2109 by @bm424
529
+ * Ignore `__doc__` as private attribute when `Config.underscore_attrs_are_private` is set, #2090 by @PrettyWood
530
+
531
+ ## v1.7.2 (2020-11-01)
532
+
533
+ * fix slow `GenericModel` concrete model creation, allow `GenericModel` concrete name reusing in module, #2078 by @Bobronium
534
+ * keep the order of the fields when `validate_assignment` is set, #2073 by @PrettyWood
535
+ * forward all the params of the stdlib `dataclass` when converted into _pydantic_ `dataclass`, #2065 by @PrettyWood
536
+
537
+ ## v1.7.1 (2020-10-28)
538
+
539
+ Thank you to pydantic's sponsors:
540
+ @timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api, @mkeen
541
+ for their kind support.
542
+
543
+ * fix annotation of `validate_arguments` when passing configuration as argument, #2055 by @layday
544
+ * Fix mypy assignment error when using `PrivateAttr`, #2048 by @aphedges
545
+ * fix `underscore_attrs_are_private` causing `TypeError` when overriding `__init__`, #2047 by @samuelcolvin
546
+ * Fixed regression introduced in v1.7 involving exception handling in field validators when `validate_assignment=True`, #2044 by @johnsabath
547
+ * fix: _pydantic_ `dataclass` can inherit from stdlib `dataclass`
548
+ and `Config.arbitrary_types_allowed` is supported, #2042 by @PrettyWood
549
+
550
+ ## v1.7 (2020-10-26)
551
+
552
+ Thank you to pydantic's sponsors:
553
+ @timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api
554
+ for their kind support.
555
+
556
+ ### Highlights
557
+
558
+ * Python 3.9 support, thanks @PrettyWood
559
+ * [Private model attributes](https://docs.pydantic.dev/usage/models/#private-model-attributes), thanks @Bobronium
560
+ * ["secrets files" support in `BaseSettings`](https://docs.pydantic.dev/usage/settings/#secret-support), thanks @mdgilene
561
+ * [convert stdlib dataclasses to pydantic dataclasses and use stdlib dataclasses in models](https://docs.pydantic.dev/usage/dataclasses/#stdlib-dataclasses-and-pydantic-dataclasses), thanks @PrettyWood
562
+
563
+ ### Changes
564
+
565
+ * **Breaking Change:** remove `__field_defaults__`, add `default_factory` support with `BaseModel.construct`.
566
+ Use `.get_default()` method on fields in `__fields__` attribute instead, #1732 by @PrettyWood
567
+ * Rearrange CI to run linting as a separate job, split install recipes for different tasks, #2020 by @samuelcolvin
568
+ * Allows subclasses of generic models to make some, or all, of the superclass's type parameters concrete, while
569
+ also defining new type parameters in the subclass, #2005 by @choogeboom
570
+ * Call validator with the correct `values` parameter type in `BaseModel.__setattr__`,
571
+ when `validate_assignment = True` in model config, #1999 by @me-ransh
572
+ * Force `fields.Undefined` to be a singleton object, fixing inherited generic model schemas, #1981 by @daviskirk
573
+ * Include tests in source distributions, #1976 by @sbraz
574
+ * Add ability to use `min_length/max_length` constraints with secret types, #1974 by @uriyyo
575
+ * Also check `root_validators` when `validate_assignment` is on, #1971 by @PrettyWood
576
+ * Fix const validators not running when custom validators are present, #1957 by @hmvp
577
+ * add `deque` to field types, #1935 by @wozniakty
578
+ * add basic support for Python 3.9, #1832 by @PrettyWood
579
+ * Fix typo in the anchor of exporting_models.md#modelcopy and incorrect description, #1821 by @KimMachineGun
580
+ * Added ability for `BaseSettings` to read "secret files", #1820 by @mdgilene
581
+ * add `parse_raw_as` utility function, #1812 by @PrettyWood
582
+ * Support home directory relative paths for `dotenv` files (e.g. `~/.env`), #1803 by @PrettyWood
583
+ * Clarify documentation for `parse_file` to show that the argument
584
+ should be a file *path* not a file-like object, #1794 by @mdavis-xyz
585
+ * Fix false positive from mypy plugin when a class nested within a `BaseModel` is named `Model`, #1770 by @selimb
586
+ * add basic support of Pattern type in schema generation, #1767 by @PrettyWood
587
+ * Support custom title, description and default in schema of enums, #1748 by @PrettyWood
588
+ * Properly represent `Literal` Enums when `use_enum_values` is True, #1747 by @noelevans
589
+ * Allows timezone information to be added to strings to be formatted as time objects. Permitted formats are `Z` for UTC
590
+ or an offset for absolute positive or negative time shifts. Or the timezone data can be omitted, #1744 by @noelevans
591
+ * Add stub `__init__` with Python 3.6 signature for `ForwardRef`, #1738 by @sirtelemak
592
+ * Fix behaviour with forward refs and optional fields in nested models, #1736 by @PrettyWood
593
+ * add `Enum` and `IntEnum` as valid types for fields, #1735 by @PrettyWood
594
+ * Change default value of `__module__` argument of `create_model` from `None` to `'pydantic.main'`.
595
+ Set reference of created concrete model to it's module to allow pickling (not applied to models created in
596
+ functions), #1686 by @Bobronium
597
+ * Add private attributes support, #1679 by @Bobronium
598
+ * add `config` to `@validate_arguments`, #1663 by @samuelcolvin
599
+ * Allow descendant Settings models to override env variable names for the fields defined in parent Settings models with
600
+ `env` in their `Config`. Previously only `env_prefix` configuration option was applicable, #1561 by @ojomio
601
+ * Support `ref_template` when creating schema `$ref`s, #1479 by @kilo59
602
+ * Add a `__call__` stub to `PyObject` so that mypy will know that it is callable, #1352 by @brianmaissy
603
+ * `pydantic.dataclasses.dataclass` decorator now supports built-in `dataclasses.dataclass`.
604
+ It is hence possible to convert an existing `dataclass` easily to add *pydantic* validation.
605
+ Moreover nested dataclasses are also supported, #744 by @PrettyWood
606
+
607
+ ## v1.6.2 (2021-05-11)
608
+
609
+ * **Security fix:** Fix `date` and `datetime` parsing so passing either `'infinity'` or `float('inf')`
610
+ (or their negative values) does not cause an infinite loop,
611
+ See security advisory [CVE-2021-29510](https://github.com/pydantic/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh)
612
+
613
+ ## v1.6.1 (2020-07-15)
614
+
615
+ * fix validation and parsing of nested models with `default_factory`, #1710 by @PrettyWood
616
+
617
+ ## v1.6 (2020-07-11)
618
+
619
+ Thank you to pydantic's sponsors: @matin, @tiangolo, @chdsbd, @jorgecarleitao, and 1 anonymous sponsor for their kind support.
620
+
621
+ * Modify validators for `conlist` and `conset` to not have `always=True`, #1682 by @samuelcolvin
622
+ * add port check to `AnyUrl` (can't exceed 65536) ports are 16 insigned bits: `0 <= port <= 2**16-1` src: [rfc793 header format](https://tools.ietf.org/html/rfc793#section-3.1), #1654 by @flapili
623
+ * Document default `regex` anchoring semantics, #1648 by @yurikhan
624
+ * Use `chain.from_iterable` in class_validators.py. This is a faster and more idiomatic way of using `itertools.chain`.
625
+ Instead of computing all the items in the iterable and storing them in memory, they are computed one-by-one and never
626
+ stored as a huge list. This can save on both runtime and memory space, #1642 by @cool-RR
627
+ * Add `conset()`, analogous to `conlist()`, #1623 by @patrickkwang
628
+ * make *pydantic* errors (un)pickable, #1616 by @PrettyWood
629
+ * Allow custom encoding for `dotenv` files, #1615 by @PrettyWood
630
+ * Ensure `SchemaExtraCallable` is always defined to get type hints on BaseConfig, #1614 by @PrettyWood
631
+ * Update datetime parser to support negative timestamps, #1600 by @mlbiche
632
+ * Update mypy, remove `AnyType` alias for `Type[Any]`, #1598 by @samuelcolvin
633
+ * Adjust handling of root validators so that errors are aggregated from _all_ failing root validators, instead of reporting on only the first root validator to fail, #1586 by @beezee
634
+ * Make `__modify_schema__` on Enums apply to the enum schema rather than fields that use the enum, #1581 by @therefromhere
635
+ * Fix behavior of `__all__` key when used in conjunction with index keys in advanced include/exclude of fields that are sequences, #1579 by @xspirus
636
+ * Subclass validators do not run when referencing a `List` field defined in a parent class when `each_item=True`. Added an example to the docs illustrating this, #1566 by @samueldeklund
637
+ * change `schema.field_class_to_schema` to support `frozenset` in schema, #1557 by @wangpeibao
638
+ * Call `__modify_schema__` only for the field schema, #1552 by @PrettyWood
639
+ * Move the assignment of `field.validate_always` in `fields.py` so the `always` parameter of validators work on inheritance, #1545 by @dcHHH
640
+ * Added support for UUID instantiation through 16 byte strings such as `b'\x12\x34\x56\x78' * 4`. This was done to support `BINARY(16)` columns in sqlalchemy, #1541 by @shawnwall
641
+ * Add a test assertion that `default_factory` can return a singleton, #1523 by @therefromhere
642
+ * Add `NameEmail.__eq__` so duplicate `NameEmail` instances are evaluated as equal, #1514 by @stephen-bunn
643
+ * Add datamodel-code-generator link in pydantic document site, #1500 by @koxudaxi
644
+ * Added a "Discussion of Pydantic" section to the documentation, with a link to "Pydantic Introduction" video by Alexander Hultnér, #1499 by @hultner
645
+ * Avoid some side effects of `default_factory` by calling it only once
646
+ if possible and by not setting a default value in the schema, #1491 by @PrettyWood
647
+ * Added docs about dumping dataclasses to JSON, #1487 by @mikegrima
648
+ * Make `BaseModel.__signature__` class-only, so getting `__signature__` from model instance will raise `AttributeError`, #1466 by @Bobronium
649
+ * include `'format': 'password'` in the schema for secret types, #1424 by @atheuz
650
+ * Modify schema constraints on `ConstrainedFloat` so that `exclusiveMinimum` and
651
+ minimum are not included in the schema if they are equal to `-math.inf` and
652
+ `exclusiveMaximum` and `maximum` are not included if they are equal to `math.inf`, #1417 by @vdwees
653
+ * Squash internal `__root__` dicts in `.dict()` (and, by extension, in `.json()`), #1414 by @patrickkwang
654
+ * Move `const` validator to post-validators so it validates the parsed value, #1410 by @selimb
655
+ * Fix model validation to handle nested literals, e.g. `Literal['foo', Literal['bar']]`, #1364 by @DBCerigo
656
+ * Remove `user_required = True` from `RedisDsn`, neither user nor password are required, #1275 by @samuelcolvin
657
+ * Remove extra `allOf` from schema for fields with `Union` and custom `Field`, #1209 by @mostaphaRoudsari
658
+ * Updates OpenAPI schema generation to output all enums as separate models.
659
+ Instead of inlining the enum values in the model schema, models now use a `$ref`
660
+ property to point to the enum definition, #1173 by @calvinwyoung
661
+
662
+ ## v1.5.1 (2020-04-23)
663
+
664
+ * Signature generation with `extra: allow` never uses a field name, #1418 by @prettywood
665
+ * Avoid mutating `Field` default value, #1412 by @prettywood
666
+
667
+ ## v1.5 (2020-04-18)
668
+
669
+ * Make includes/excludes arguments for `.dict()`, `._iter()`, ..., immutable, #1404 by @AlexECX
670
+ * Always use a field's real name with includes/excludes in `model._iter()`, regardless of `by_alias`, #1397 by @AlexECX
671
+ * Update constr regex example to include start and end lines, #1396 by @lmcnearney
672
+ * Confirm that shallow `model.copy()` does make a shallow copy of attributes, #1383 by @samuelcolvin
673
+ * Renaming `model_name` argument of `main.create_model()` to `__model_name` to allow using `model_name` as a field name, #1367 by @kittipatv
674
+ * Replace raising of exception to silent passing for non-Var attributes in mypy plugin, #1345 by @b0g3r
675
+ * Remove `typing_extensions` dependency for Python 3.8, #1342 by @prettywood
676
+ * Make `SecretStr` and `SecretBytes` initialization idempotent, #1330 by @atheuz
677
+ * document making secret types dumpable using the json method, #1328 by @atheuz
678
+ * Move all testing and build to github actions, add windows and macos binaries,
679
+ thank you @StephenBrown2 for much help, #1326 by @samuelcolvin
680
+ * fix card number length check in `PaymentCardNumber`, `PaymentCardBrand` now inherits from `str`, #1317 by @samuelcolvin
681
+ * Have `BaseModel` inherit from `Representation` to make mypy happy when overriding `__str__`, #1310 by @FuegoFro
682
+ * Allow `None` as input to all optional list fields, #1307 by @prettywood
683
+ * Add `datetime` field to `default_factory` example, #1301 by @StephenBrown2
684
+ * Allow subclasses of known types to be encoded with superclass encoder, #1291 by @StephenBrown2
685
+ * Exclude exported fields from all elements of a list/tuple of submodels/dicts with `'__all__'`, #1286 by @masalim2
686
+ * Add pydantic.color.Color objects as available input for Color fields, #1258 by @leosussan
687
+ * In examples, type nullable fields as `Optional`, so that these are valid mypy annotations, #1248 by @kokes
688
+ * Make `pattern_validator()` accept pre-compiled `Pattern` objects. Fix `str_validator()` return type to `str`, #1237 by @adamgreg
689
+ * Document how to manage Generics and inheritance, #1229 by @esadruhn
690
+ * `update_forward_refs()` method of BaseModel now copies `__dict__` of class module instead of modyfying it, #1228 by @paul-ilyin
691
+ * Support instance methods and class methods with `@validate_arguments`, #1222 by @samuelcolvin
692
+ * Add `default_factory` argument to `Field` to create a dynamic default value by passing a zero-argument callable, #1210 by @prettywood
693
+ * add support for `NewType` of `List`, `Optional`, etc, #1207 by @Kazy
694
+ * fix mypy signature for `root_validator`, #1192 by @samuelcolvin
695
+ * Fixed parsing of nested 'custom root type' models, #1190 by @Shados
696
+ * Add `validate_arguments` function decorator which checks the arguments to a function matches type annotations, #1179 by @samuelcolvin
697
+ * Add `__signature__` to models, #1034 by @Bobronium
698
+ * Refactor `._iter()` method, 10x speed boost for `dict(model)`, #1017 by @Bobronium
699
+
700
+ ## v1.4 (2020-01-24)
701
+
702
+ * **Breaking Change:** alias precedence logic changed so aliases on a field always take priority over
703
+ an alias from `alias_generator` to avoid buggy/unexpected behaviour,
704
+ see [here](https://docs.pydantic.dev/usage/model_config/#alias-precedence) for details, #1178 by @samuelcolvin
705
+ * Add support for unicode and punycode in TLDs, #1182 by @jamescurtin
706
+ * Fix `cls` argument in validators during assignment, #1172 by @samuelcolvin
707
+ * completing Luhn algorithm for `PaymentCardNumber`, #1166 by @cuencandres
708
+ * add support for generics that implement `__get_validators__` like a custom data type, #1159 by @tiangolo
709
+ * add support for infinite generators with `Iterable`, #1152 by @tiangolo
710
+ * fix `url_regex` to accept schemas with `+`, `-` and `.` after the first character, #1142 by @samuelcolvin
711
+ * move `version_info()` to `version.py`, suggest its use in issues, #1138 by @samuelcolvin
712
+ * Improve pydantic import time by roughly 50% by deferring some module loading and regex compilation, #1127 by @samuelcolvin
713
+ * Fix `EmailStr` and `NameEmail` to accept instances of themselves in cython, #1126 by @koxudaxi
714
+ * Pass model class to the `Config.schema_extra` callable, #1125 by @therefromhere
715
+ * Fix regex for username and password in URLs, #1115 by @samuelcolvin
716
+ * Add support for nested generic models, #1104 by @dmontagu
717
+ * add `__all__` to `__init__.py` to prevent "implicit reexport" errors from mypy, #1072 by @samuelcolvin
718
+ * Add support for using "dotenv" files with `BaseSettings`, #1011 by @acnebs
719
+
720
+ ## v1.3 (2019-12-21)
721
+
722
+ * Change `schema` and `schema_model` to handle dataclasses by using their `__pydantic_model__` feature, #792 by @aviramha
723
+ * Added option for `root_validator` to be skipped if values validation fails using keyword `skip_on_failure=True`, #1049 by @aviramha
724
+ * Allow `Config.schema_extra` to be a callable so that the generated schema can be post-processed, #1054 by @selimb
725
+ * Update mypy to version 0.750, #1057 by @dmontagu
726
+ * Trick Cython into allowing str subclassing, #1061 by @skewty
727
+ * Prevent type attributes being added to schema unless the attribute `__schema_attributes__` is `True`, #1064 by @samuelcolvin
728
+ * Change `BaseModel.parse_file` to use `Config.json_loads`, #1067 by @kierandarcy
729
+ * Fix for optional `Json` fields, #1073 by @volker48
730
+ * Change the default number of threads used when compiling with cython to one,
731
+ allow override via the `CYTHON_NTHREADS` environment variable, #1074 by @samuelcolvin
732
+ * Run FastAPI tests during Pydantic's CI tests, #1075 by @tiangolo
733
+ * My mypy strictness constraints, and associated tweaks to type annotations, #1077 by @samuelcolvin
734
+ * Add `__eq__` to SecretStr and SecretBytes to allow "value equals", #1079 by @sbv-trueenergy
735
+ * Fix schema generation for nested None case, #1088 by @lutostag
736
+ * Consistent checks for sequence like objects, #1090 by @samuelcolvin
737
+ * Fix `Config` inheritance on `BaseSettings` when used with `env_prefix`, #1091 by @samuelcolvin
738
+ * Fix for `__modify_schema__` when it conflicted with `field_class_to_schema*`, #1102 by @samuelcolvin
739
+ * docs: Fix explanation of case sensitive environment variable names when populating `BaseSettings` subclass attributes, #1105 by @tribals
740
+ * Rename django-rest-framework benchmark in documentation, #1119 by @frankie567
741
+
742
+ ## v1.2 (2019-11-28)
743
+
744
+ * **Possible Breaking Change:** Add support for required `Optional` with `name: Optional[AnyType] = Field(...)`
745
+ and refactor `ModelField` creation to preserve `required` parameter value, #1031 by @tiangolo;
746
+ see [here](https://docs.pydantic.dev/usage/models/#required-optional-fields) for details
747
+ * Add benchmarks for `cattrs`, #513 by @sebastianmika
748
+ * Add `exclude_none` option to `dict()` and friends, #587 by @niknetniko
749
+ * Add benchmarks for `valideer`, #670 by @gsakkis
750
+ * Add `parse_obj_as` and `parse_file_as` functions for ad-hoc parsing of data into arbitrary pydantic-compatible types, #934 by @dmontagu
751
+ * Add `allow_reuse` argument to validators, thus allowing validator reuse, #940 by @dmontagu
752
+ * Add support for mapping types for custom root models, #958 by @dmontagu
753
+ * Mypy plugin support for dataclasses, #966 by @koxudaxi
754
+ * Add support for dataclasses default factory, #968 by @ahirner
755
+ * Add a `ByteSize` type for converting byte string (`1GB`) to plain bytes, #977 by @dgasmith
756
+ * Fix mypy complaint about `@root_validator(pre=True)`, #984 by @samuelcolvin
757
+ * Add manylinux binaries for Python 3.8 to pypi, also support manylinux2010, #994 by @samuelcolvin
758
+ * Adds ByteSize conversion to another unit, #995 by @dgasmith
759
+ * Fix `__str__` and `__repr__` inheritance for models, #1022 by @samuelcolvin
760
+ * add testimonials section to docs, #1025 by @sullivancolin
761
+ * Add support for `typing.Literal` for Python 3.8, #1026 by @dmontagu
762
+
763
+ ## v1.1.1 (2019-11-20)
764
+
765
+ * Fix bug where use of complex fields on sub-models could cause fields to be incorrectly configured, #1015 by @samuelcolvin
766
+
767
+ ## v1.1 (2019-11-07)
768
+
769
+ * Add a mypy plugin for type checking `BaseModel.__init__` and more, #722 by @dmontagu
770
+ * Change return type typehint for `GenericModel.__class_getitem__` to prevent PyCharm warnings, #936 by @dmontagu
771
+ * Fix usage of `Any` to allow `None`, also support `TypeVar` thus allowing use of un-parameterised collection types
772
+ e.g. `Dict` and `List`, #962 by @samuelcolvin
773
+ * Set `FieldInfo` on subfields to fix schema generation for complex nested types, #965 by @samuelcolvin
774
+
775
+ ## v1.0 (2019-10-23)
776
+
777
+ * **Breaking Change:** deprecate the `Model.fields` property, use `Model.__fields__` instead, #883 by @samuelcolvin
778
+ * **Breaking Change:** Change the precedence of aliases so child model aliases override parent aliases,
779
+ including using `alias_generator`, #904 by @samuelcolvin
780
+ * **Breaking change:** Rename `skip_defaults` to `exclude_unset`, and add ability to exclude actual defaults, #915 by @dmontagu
781
+ * Add `**kwargs` to `pydantic.main.ModelMetaclass.__new__` so `__init_subclass__` can take custom parameters on extended
782
+ `BaseModel` classes, #867 by @retnikt
783
+ * Fix field of a type that has a default value, #880 by @koxudaxi
784
+ * Use `FutureWarning` instead of `DeprecationWarning` when `alias` instead of `env` is used for settings models, #881 by @samuelcolvin
785
+ * Fix issue with `BaseSettings` inheritance and `alias` getting set to `None`, #882 by @samuelcolvin
786
+ * Modify `__repr__` and `__str__` methods to be consistent across all public classes, add `__pretty__` to support
787
+ python-devtools, #884 by @samuelcolvin
788
+ * deprecation warning for `case_insensitive` on `BaseSettings` config, #885 by @samuelcolvin
789
+ * For `BaseSettings` merge environment variables and in-code values recursively, as long as they create a valid object
790
+ when merged together, to allow splitting init arguments, #888 by @idmitrievsky
791
+ * change secret types example, #890 by @ashears
792
+ * Change the signature of `Model.construct()` to be more user-friendly, document `construct()` usage, #898 by @samuelcolvin
793
+ * Add example for the `construct()` method, #907 by @ashears
794
+ * Improve use of `Field` constraints on complex types, raise an error if constraints are not enforceable,
795
+ also support tuples with an ellipsis `Tuple[X, ...]`, `Sequence` and `FrozenSet` in schema, #909 by @samuelcolvin
796
+ * update docs for bool missing valid value, #911 by @trim21
797
+ * Better `str`/`repr` logic for `ModelField`, #912 by @samuelcolvin
798
+ * Fix `ConstrainedList`, update schema generation to reflect `min_items` and `max_items` `Field()` arguments, #917 by @samuelcolvin
799
+ * Allow abstracts sets (eg. dict keys) in the `include` and `exclude` arguments of `dict()`, #921 by @samuelcolvin
800
+ * Fix JSON serialization errors on `ValidationError.json()` by using `pydantic_encoder`, #922 by @samuelcolvin
801
+ * Clarify usage of `remove_untouched`, improve error message for types with no validators, #926 by @retnikt
802
+
803
+ ## v1.0b2 (2019-10-07)
804
+
805
+ * Mark `StrictBool` typecheck as `bool` to allow for default values without mypy errors, #690 by @dmontagu
806
+ * Transfer the documentation build from sphinx to mkdocs, re-write much of the documentation, #856 by @samuelcolvin
807
+ * Add support for custom naming schemes for `GenericModel` subclasses, #859 by @dmontagu
808
+ * Add `if TYPE_CHECKING:` to the excluded lines for test coverage, #874 by @dmontagu
809
+ * Rename `allow_population_by_alias` to `allow_population_by_field_name`, remove unnecessary warning about it, #875 by @samuelcolvin
810
+
811
+ ## v1.0b1 (2019-10-01)
812
+
813
+ * **Breaking Change:** rename `Schema` to `Field`, make it a function to placate mypy, #577 by @samuelcolvin
814
+ * **Breaking Change:** modify parsing behavior for `bool`, #617 by @dmontagu
815
+ * **Breaking Change:** `get_validators` is no longer recognised, use `__get_validators__`.
816
+ `Config.ignore_extra` and `Config.allow_extra` are no longer recognised, use `Config.extra`, #720 by @samuelcolvin
817
+ * **Breaking Change:** modify default config settings for `BaseSettings`; `case_insensitive` renamed to `case_sensitive`,
818
+ default changed to `case_sensitive = False`, `env_prefix` default changed to `''` - e.g. no prefix, #721 by @dmontagu
819
+ * **Breaking change:** Implement `root_validator` and rename root errors from `__obj__` to `__root__`, #729 by @samuelcolvin
820
+ * **Breaking Change:** alter the behaviour of `dict(model)` so that sub-models are nolonger
821
+ converted to dictionaries, #733 by @samuelcolvin
822
+ * **Breaking change:** Added `initvars` support to `post_init_post_parse`, #748 by @Raphael-C-Almeida
823
+ * **Breaking Change:** Make `BaseModel.json()` only serialize the `__root__` key for models with custom root, #752 by @dmontagu
824
+ * **Breaking Change:** complete rewrite of `URL` parsing logic, #755 by @samuelcolvin
825
+ * **Breaking Change:** preserve superclass annotations for field-determination when not provided in subclass, #757 by @dmontagu
826
+ * **Breaking Change:** `BaseSettings` now uses the special `env` settings to define which environment variables to
827
+ read, not aliases, #847 by @samuelcolvin
828
+ * add support for `assert` statements inside validators, #653 by @abdusco
829
+ * Update documentation to specify the use of `pydantic.dataclasses.dataclass` and subclassing `pydantic.BaseModel`, #710 by @maddosaurus
830
+ * Allow custom JSON decoding and encoding via `json_loads` and `json_dumps` `Config` properties, #714 by @samuelcolvin
831
+ * make all annotated fields occur in the order declared, #715 by @dmontagu
832
+ * use pytest to test `mypy` integration, #735 by @dmontagu
833
+ * add `__repr__` method to `ErrorWrapper`, #738 by @samuelcolvin
834
+ * Added support for `FrozenSet` members in dataclasses, and a better error when attempting to use types from the `typing` module that are not supported by Pydantic, #745 by @djpetti
835
+ * add documentation for Pycharm Plugin, #750 by @koxudaxi
836
+ * fix broken examples in the docs, #753 by @dmontagu
837
+ * moving typing related objects into `pydantic.typing`, #761 by @samuelcolvin
838
+ * Minor performance improvements to `ErrorWrapper`, `ValidationError` and datetime parsing, #763 by @samuelcolvin
839
+ * Improvements to `datetime`/`date`/`time`/`timedelta` types: more descriptive errors,
840
+ change errors to `value_error` not `type_error`, support bytes, #766 by @samuelcolvin
841
+ * fix error messages for `Literal` types with multiple allowed values, #770 by @dmontagu
842
+ * Improved auto-generated `title` field in JSON schema by converting underscore to space, #772 by @skewty
843
+ * support `mypy --no-implicit-reexport` for dataclasses, also respect `--no-implicit-reexport` in pydantic itself, #783 by @samuelcolvin
844
+ * add the `PaymentCardNumber` type, #790 by @matin
845
+ * Fix const validations for lists, #794 by @hmvp
846
+ * Set `additionalProperties` to false in schema for models with extra fields disallowed, #796 by @Code0x58
847
+ * `EmailStr` validation method now returns local part case-sensitive per RFC 5321, #798 by @henriklindgren
848
+ * Added ability to validate strictness to `ConstrainedFloat`, `ConstrainedInt` and `ConstrainedStr` and added
849
+ `StrictFloat` and `StrictInt` classes, #799 by @DerRidda
850
+ * Improve handling of `None` and `Optional`, replace `whole` with `each_item` (inverse meaning, default `False`)
851
+ on validators, #803 by @samuelcolvin
852
+ * add support for `Type[T]` type hints, #807 by @timonbimon
853
+ * Performance improvements from removing `change_exceptions`, change how pydantic error are constructed, #819 by @samuelcolvin
854
+ * Fix the error message arising when a `BaseModel`-type model field causes a `ValidationError` during parsing, #820 by @dmontagu
855
+ * allow `getter_dict` on `Config`, modify `GetterDict` to be more like a `Mapping` object and thus easier to work with, #821 by @samuelcolvin
856
+ * Only check `TypeVar` param on base `GenericModel` class, #842 by @zpencerq
857
+ * rename `Model._schema_cache` -> `Model.__schema_cache__`, `Model._json_encoder` -> `Model.__json_encoder__`,
858
+ `Model._custom_root_type` -> `Model.__custom_root_type__`, #851 by @samuelcolvin
859
+
860
+ ## v0.32.2 (2019-08-17)
861
+
862
+ (Docs are available [here](https://5d584fcca7c9b70007d1c997--pydantic-docs.netlify.com))
863
+
864
+ * fix `__post_init__` usage with dataclass inheritance, fix #739 by @samuelcolvin
865
+ * fix required fields validation on GenericModels classes, #742 by @amitbl
866
+ * fix defining custom `Schema` on `GenericModel` fields, #754 by @amitbl
867
+
868
+ ## v0.32.1 (2019-08-08)
869
+
870
+ * do not validate extra fields when `validate_assignment` is on, #724 by @YaraslauZhylko
871
+
872
+ ## v0.32 (2019-08-06)
873
+
874
+ * add model name to `ValidationError` error message, #676 by @dmontagu
875
+ * **breaking change**: remove `__getattr__` and rename `__values__` to `__dict__` on `BaseModel`,
876
+ deprecation warning on use `__values__` attr, attributes access speed increased up to 14 times, #712 by @Bobronium
877
+ * support `ForwardRef` (without self-referencing annotations) in Python 3.6, #706 by @koxudaxi
878
+ * implement `schema_extra` in `Config` sub-class, #663 by @tiangolo
879
+
880
+ ## v0.31.1 (2019-07-31)
881
+
882
+ * fix json generation for `EnumError`, #697 by @dmontagu
883
+ * update numerous dependencies
884
+
885
+ ## v0.31 (2019-07-24)
886
+
887
+ * better support for floating point `multiple_of` values, #652 by @justindujardin
888
+ * fix schema generation for `NewType` and `Literal`, #649 by @dmontagu
889
+ * fix `alias_generator` and field config conflict, #645 by @gmetzker and #658 by @Bobronium
890
+ * more detailed message for `EnumError`, #673 by @dmontagu
891
+ * add advanced exclude support for `dict`, `json` and `copy`, #648 by @Bobronium
892
+ * fix bug in `GenericModel` for models with concrete parameterized fields, #672 by @dmontagu
893
+ * add documentation for `Literal` type, #651 by @dmontagu
894
+ * add `Config.keep_untouched` for custom descriptors support, #679 by @Bobronium
895
+ * use `inspect.cleandoc` internally to get model description, #657 by @tiangolo
896
+ * add `Color` to schema generation, by @euri10
897
+ * add documentation for Literal type, #651 by @dmontagu
898
+
899
+ ## v0.30.1 (2019-07-15)
900
+
901
+ * fix so nested classes which inherit and change `__init__` are correctly processed while still allowing `self` as a
902
+ parameter, #644 by @lnaden and @dgasmith
903
+
904
+ ## v0.30 (2019-07-07)
905
+
906
+ * enforce single quotes in code, #612 by @samuelcolvin
907
+ * fix infinite recursion with dataclass inheritance and `__post_init__`, #606 by @Hanaasagi
908
+ * fix default values for `GenericModel`, #610 by @dmontagu
909
+ * clarify that self-referencing models require Python 3.7+, #616 by @vlcinsky
910
+ * fix truncate for types, #611 by @dmontagu
911
+ * add `alias_generator` support, #622 by @Bobronium
912
+ * fix unparameterized generic type schema generation, #625 by @dmontagu
913
+ * fix schema generation with multiple/circular references to the same model, #621 by @tiangolo and @wongpat
914
+ * support custom root types, #628 by @koxudaxi
915
+ * support `self` as a field name in `parse_obj`, #632 by @samuelcolvin
916
+
917
+ ## v0.29 (2019-06-19)
918
+
919
+ * support dataclasses.InitVar, #592 by @pfrederiks
920
+ * Updated documentation to elucidate the usage of `Union` when defining multiple types under an attribute's
921
+ annotation and showcase how the type-order can affect marshalling of provided values, #594 by @somada141
922
+ * add `conlist` type, #583 by @hmvp
923
+ * add support for generics, #595 by @dmontagu
924
+
925
+ ## v0.28 (2019-06-06)
926
+
927
+ * fix support for JSON Schema generation when using models with circular references in Python 3.7, #572 by @tiangolo
928
+ * support `__post_init_post_parse__` on dataclasses, #567 by @sevaho
929
+ * allow dumping dataclasses to JSON, #575 by @samuelcolvin and @DanielOberg
930
+ * ORM mode, #562 by @samuelcolvin
931
+ * fix `pydantic.compiled` on ipython, #573 by @dmontagu and @samuelcolvin
932
+ * add `StrictBool` type, #579 by @cazgp
933
+
934
+ ## v0.27 (2019-05-30)
935
+
936
+ * **breaking change** `_pydantic_post_init` to execute dataclass' original `__post_init__` before
937
+ validation, #560 by @HeavenVolkoff
938
+ * fix handling of generic types without specified parameters, #550 by @dmontagu
939
+ * **breaking change** (maybe): this is the first release compiled with **cython**, see the docs and please
940
+ submit an issue if you run into problems
941
+
942
+ ## v0.27.0a1 (2019-05-26)
943
+
944
+ * fix JSON Schema for `list`, `tuple`, and `set`, #540 by @tiangolo
945
+ * compiling with cython, `manylinux` binaries, some other performance improvements, #548 by @samuelcolvin
946
+
947
+ ## v0.26 (2019-05-22)
948
+
949
+ * fix to schema generation for `IPvAnyAddress`, `IPvAnyInterface`, `IPvAnyNetwork` #498 by @pilosus
950
+ * fix variable length tuples support, #495 by @pilosus
951
+ * fix return type hint for `create_model`, #526 by @dmontagu
952
+ * **Breaking Change:** fix `.dict(skip_keys=True)` skipping values set via alias (this involves changing
953
+ `validate_model()` to always returns `Tuple[Dict[str, Any], Set[str], Optional[ValidationError]]`), #517 by @sommd
954
+ * fix to schema generation for `IPv4Address`, `IPv6Address`, `IPv4Interface`,
955
+ `IPv6Interface`, `IPv4Network`, `IPv6Network` #532 by @euri10
956
+ * add `Color` type, #504 by @pilosus and @samuelcolvin
957
+
958
+ ## v0.25 (2019-05-05)
959
+
960
+ * Improve documentation on self-referencing models and annotations, #487 by @theenglishway
961
+ * fix `.dict()` with extra keys, #490 by @JaewonKim
962
+ * support `const` keyword in `Schema`, #434 by @Sean1708
963
+
964
+ ## v0.24 (2019-04-23)
965
+
966
+ * fix handling `ForwardRef` in sub-types, like `Union`, #464 by @tiangolo
967
+ * fix secret serialization, #465 by @atheuz
968
+ * Support custom validators for dataclasses, #454 by @primal100
969
+ * fix `parse_obj` to cope with dict-like objects, #472 by @samuelcolvin
970
+ * fix to schema generation in nested dataclass-based models, #474 by @NoAnyLove
971
+ * fix `json` for `Path`, `FilePath`, and `DirectoryPath` objects, #473 by @mikegoodspeed
972
+
973
+ ## v0.23 (2019-04-04)
974
+
975
+ * improve documentation for contributing section, #441 by @pilosus
976
+ * improve README.rst to include essential information about the package, #446 by @pilosus
977
+ * `IntEnum` support, #444 by @potykion
978
+ * fix PyObject callable value, #409 by @pilosus
979
+ * fix `black` deprecation warnings after update, #451 by @pilosus
980
+ * fix `ForwardRef` collection bug, #450 by @tigerwings
981
+ * Support specialized `ClassVars`, #455 by @tyrylu
982
+ * fix JSON serialization for `ipaddress` types, #333 by @pilosus
983
+ * add `SecretStr` and `SecretBytes` types, #452 by @atheuz
984
+
985
+ ## v0.22 (2019-03-29)
986
+
987
+ * add `IPv{4,6,Any}Network` and `IPv{4,6,Any}Interface` types from `ipaddress` stdlib, #333 by @pilosus
988
+ * add docs for `datetime` types, #386 by @pilosus
989
+ * fix to schema generation in dataclass-based models, #408 by @pilosus
990
+ * fix path in nested models, #437 by @kataev
991
+ * add `Sequence` support, #304 by @pilosus
992
+
993
+ ## v0.21.0 (2019-03-15)
994
+
995
+ * fix typo in `NoneIsNotAllowedError` message, #414 by @YaraslauZhylko
996
+ * add `IPvAnyAddress`, `IPv4Address` and `IPv6Address` types, #333 by @pilosus
997
+
998
+ ## v0.20.1 (2019-02-26)
999
+
1000
+ * fix type hints of `parse_obj` and similar methods, #405 by @erosennin
1001
+ * fix submodel validation, #403 by @samuelcolvin
1002
+ * correct type hints for `ValidationError.json`, #406 by @layday
1003
+
1004
+ ## v0.20.0 (2019-02-18)
1005
+
1006
+ * fix tests for Python 3.8, #396 by @samuelcolvin
1007
+ * Adds fields to the `dir` method for autocompletion in interactive sessions, #398 by @dgasmith
1008
+ * support `ForwardRef` (and therefore `from __future__ import annotations`) with dataclasses, #397 by @samuelcolvin
1009
+
1010
+ ## v0.20.0a1 (2019-02-13)
1011
+
1012
+ * **breaking change** (maybe): more sophisticated argument parsing for validators, any subset of
1013
+ `values`, `config` and `field` is now permitted, eg. `(cls, value, field)`,
1014
+ however the variadic key word argument ("`**kwargs`") **must** be called `kwargs`, #388 by @samuelcolvin
1015
+ * **breaking change**: Adds `skip_defaults` argument to `BaseModel.dict()` to allow skipping of fields that
1016
+ were not explicitly set, signature of `Model.construct()` changed, #389 by @dgasmith
1017
+ * add `py.typed` marker file for PEP-561 support, #391 by @je-l
1018
+ * Fix `extra` behaviour for multiple inheritance/mix-ins, #394 by @YaraslauZhylko
1019
+
1020
+ ## v0.19.0 (2019-02-04)
1021
+
1022
+ * Support `Callable` type hint, fix #279 by @proofit404
1023
+ * Fix schema for fields with `validator` decorator, fix #375 by @tiangolo
1024
+ * Add `multiple_of` constraint to `ConstrainedDecimal`, `ConstrainedFloat`, `ConstrainedInt`
1025
+ and their related types `condecimal`, `confloat`, and `conint` #371, thanks @StephenBrown2
1026
+ * Deprecated `ignore_extra` and `allow_extra` Config fields in favor of `extra`, #352 by @liiight
1027
+ * Add type annotations to all functions, test fully with mypy, #373 by @samuelcolvin
1028
+ * fix for 'missing' error with `validate_all` or `validate_always`, #381 by @samuelcolvin
1029
+ * Change the second/millisecond watershed for date/datetime parsing to `2e10`, #385 by @samuelcolvin
1030
+
1031
+ ## v0.18.2 (2019-01-22)
1032
+
1033
+ * Fix to schema generation with `Optional` fields, fix #361 by @samuelcolvin
1034
+
1035
+ ## v0.18.1 (2019-01-17)
1036
+
1037
+ * add `ConstrainedBytes` and `conbytes` types, #315 @Gr1N
1038
+ * adding `MANIFEST.in` to include license in package `.tar.gz`, #358 by @samuelcolvin
1039
+
1040
+ ## v0.18.0 (2019-01-13)
1041
+
1042
+ * **breaking change**: don't call validators on keys of dictionaries, #254 by @samuelcolvin
1043
+ * Fix validators with `always=True` when the default is `None` or the type is optional, also prevent
1044
+ `whole` validators being called for sub-fields, fix #132 by @samuelcolvin
1045
+ * improve documentation for settings priority and allow it to be easily changed, #343 by @samuelcolvin
1046
+ * fix `ignore_extra=False` and `allow_population_by_alias=True`, fix #257 by @samuelcolvin
1047
+ * **breaking change**: Set `BaseConfig` attributes `min_anystr_length` and `max_anystr_length` to
1048
+ `None` by default, fix #349 in #350 by @tiangolo
1049
+ * add support for postponed annotations, #348 by @samuelcolvin
1050
+
1051
+ ## v0.17.0 (2018-12-27)
1052
+
1053
+ * fix schema for `timedelta` as number, #325 by @tiangolo
1054
+ * prevent validators being called repeatedly after inheritance, #327 by @samuelcolvin
1055
+ * prevent duplicate validator check in ipython, fix #312 by @samuelcolvin
1056
+ * add "Using Pydantic" section to docs, #323 by @tiangolo & #326 by @samuelcolvin
1057
+ * fix schema generation for fields annotated as `: dict`, `: list`,
1058
+ `: tuple` and `: set`, #330 & #335 by @nkonin
1059
+ * add support for constrained strings as dict keys in schema, #332 by @tiangolo
1060
+ * support for passing Config class in dataclasses decorator, #276 by @jarekkar
1061
+ (**breaking change**: this supersedes the `validate_assignment` argument with `config`)
1062
+ * support for nested dataclasses, #334 by @samuelcolvin
1063
+ * better errors when getting an `ImportError` with `PyObject`, #309 by @samuelcolvin
1064
+ * rename `get_validators` to `__get_validators__`, deprecation warning on use of old name, #338 by @samuelcolvin
1065
+ * support `ClassVar` by excluding such attributes from fields, #184 by @samuelcolvin
1066
+
1067
+ ## v0.16.1 (2018-12-10)
1068
+
1069
+ * fix `create_model` to correctly use the passed `__config__`, #320 by @hugoduncan
1070
+
1071
+ ## v0.16.0 (2018-12-03)
1072
+
1073
+ * **breaking change**: refactor schema generation to be compatible with JSON Schema and OpenAPI specs, #308 by @tiangolo
1074
+ * add `schema` to `schema` module to generate top-level schemas from base models, #308 by @tiangolo
1075
+ * add additional fields to `Schema` class to declare validation for `str` and numeric values, #311 by @tiangolo
1076
+ * rename `_schema` to `schema` on fields, #318 by @samuelcolvin
1077
+ * add `case_insensitive` option to `BaseSettings` `Config`, #277 by @jasonkuhrt
1078
+
1079
+ ## v0.15.0 (2018-11-18)
1080
+
1081
+ * move codebase to use black, #287 by @samuelcolvin
1082
+ * fix alias use in settings, #286 by @jasonkuhrt and @samuelcolvin
1083
+ * fix datetime parsing in `parse_date`, #298 by @samuelcolvin
1084
+ * allow dataclass inheritance, fix #293 by @samuelcolvin
1085
+ * fix `PyObject = None`, fix #305 by @samuelcolvin
1086
+ * allow `Pattern` type, fix #303 by @samuelcolvin
1087
+
1088
+ ## v0.14.0 (2018-10-02)
1089
+
1090
+ * dataclasses decorator, #269 by @Gaunt and @samuelcolvin
1091
+
1092
+ ## v0.13.1 (2018-09-21)
1093
+
1094
+ * fix issue where int_validator doesn't cast a `bool` to an `int` #264 by @nphyatt
1095
+ * add deep copy support for `BaseModel.copy()` #249, @gangefors
1096
+
1097
+ ## v0.13.0 (2018-08-25)
1098
+
1099
+ * raise an exception if a field's name shadows an existing `BaseModel` attribute #242
1100
+ * add `UrlStr` and `urlstr` types #236
1101
+ * timedelta json encoding ISO8601 and total seconds, custom json encoders #247, by @cfkanesan and @samuelcolvin
1102
+ * allow `timedelta` objects as values for properties of type `timedelta` (matches `datetime` etc. behavior) #247
1103
+
1104
+ ## v0.12.1 (2018-07-31)
1105
+
1106
+ * fix schema generation for fields defined using `typing.Any` #237
1107
+
1108
+ ## v0.12.0 (2018-07-31)
1109
+
1110
+ * add `by_alias` argument in `.dict()` and `.json()` model methods #205
1111
+ * add Json type support #214
1112
+ * support tuples #227
1113
+ * major improvements and changes to schema #213
1114
+
1115
+ ## v0.11.2 (2018-07-05)
1116
+
1117
+ * add `NewType` support #115
1118
+ * fix `list`, `set` & `tuple` validation #225
1119
+ * separate out `validate_model` method, allow errors to be returned along with valid values #221
1120
+
1121
+ ## v0.11.1 (2018-07-02)
1122
+
1123
+ * support Python 3.7 #216, thanks @layday
1124
+ * Allow arbitrary types in model #209, thanks @oldPadavan
1125
+
1126
+ ## v0.11.0 (2018-06-28)
1127
+
1128
+ * make `list`, `tuple` and `set` types stricter #86
1129
+ * **breaking change**: remove msgpack parsing #201
1130
+ * add `FilePath` and `DirectoryPath` types #10
1131
+ * model schema generation #190
1132
+ * JSON serialisation of models and schemas #133
1133
+
1134
+ ## v0.10.0 (2018-06-11)
1135
+
1136
+ * add `Config.allow_population_by_alias` #160, thanks @bendemaree
1137
+ * **breaking change**: new errors format #179, thanks @Gr1N
1138
+ * **breaking change**: removed `Config.min_number_size` and `Config.max_number_size` #183, thanks @Gr1N
1139
+ * **breaking change**: correct behaviour of `lt` and `gt` arguments to `conint` etc. #188
1140
+ for the old behaviour use `le` and `ge` #194, thanks @jaheba
1141
+ * added error context and ability to redefine error message templates using `Config.error_msg_templates` #183,
1142
+ thanks @Gr1N
1143
+ * fix typo in validator exception #150
1144
+ * copy defaults to model values, so different models don't share objects #154
1145
+
1146
+ ## v0.9.1 (2018-05-10)
1147
+
1148
+ * allow custom `get_field_config` on config classes #159
1149
+ * add `UUID1`, `UUID3`, `UUID4` and `UUID5` types #167, thanks @Gr1N
1150
+ * modify some inconsistent docstrings and annotations #173, thanks @YannLuo
1151
+ * fix type annotations for exotic types #171, thanks @Gr1N
1152
+ * re-use type validators in exotic types #171
1153
+ * scheduled monthly requirements updates #168
1154
+ * add `Decimal`, `ConstrainedDecimal` and `condecimal` types #170, thanks @Gr1N
1155
+
1156
+ ## v0.9.0 (2018-04-28)
1157
+
1158
+ * tweak email-validator import error message #145
1159
+ * fix parse error of `parse_date()` and `parse_datetime()` when input is 0 #144, thanks @YannLuo
1160
+ * add `Config.anystr_strip_whitespace` and `strip_whitespace` kwarg to `constr`,
1161
+ by default values is `False` #163, thanks @Gr1N
1162
+ * add `ConstrainedFloat`, `confloat`, `PositiveFloat` and `NegativeFloat` types #166, thanks @Gr1N
1163
+
1164
+ ## v0.8.0 (2018-03-25)
1165
+
1166
+ * fix type annotation for `inherit_config` #139
1167
+ * **breaking change**: check for invalid field names in validators #140
1168
+ * validate attributes of parent models #141
1169
+ * **breaking change**: email validation now uses
1170
+ [email-validator](https://github.com/JoshData/python-email-validator) #142
1171
+
1172
+ ## v0.7.1 (2018-02-07)
1173
+
1174
+ * fix bug with `create_model` modifying the base class
1175
+
1176
+ ## v0.7.0 (2018-02-06)
1177
+
1178
+ * added compatibility with abstract base classes (ABCs) #123
1179
+ * add `create_model` method #113 #125
1180
+ * **breaking change**: rename `.config` to `.__config__` on a model
1181
+ * **breaking change**: remove deprecated `.values()` on a model, use `.dict()` instead
1182
+ * remove use of `OrderedDict` and use simple dict #126
1183
+ * add `Config.use_enum_values` #127
1184
+ * add wildcard validators of the form `@validate('*')` #128
1185
+
1186
+ ## v0.6.4 (2018-02-01)
1187
+
1188
+ * allow Python date and times objects #122
1189
+
1190
+ ## v0.6.3 (2017-11-26)
1191
+
1192
+ * fix direct install without `README.rst` present
1193
+
1194
+ ## v0.6.2 (2017-11-13)
1195
+
1196
+ * errors for invalid validator use
1197
+ * safer check for complex models in `Settings`
1198
+
1199
+ ## v0.6.1 (2017-11-08)
1200
+
1201
+ * prevent duplicate validators, #101
1202
+ * add `always` kwarg to validators, #102
1203
+
1204
+ ## v0.6.0 (2017-11-07)
1205
+
1206
+ * assignment validation #94, thanks petroswork!
1207
+ * JSON in environment variables for complex types, #96
1208
+ * add `validator` decorators for complex validation, #97
1209
+ * depreciate `values(...)` and replace with `.dict(...)`, #99
1210
+
1211
+ ## v0.5.0 (2017-10-23)
1212
+
1213
+ * add `UUID` validation #89
1214
+ * remove `index` and `track` from error object (json) if they're null #90
1215
+ * improve the error text when a list is provided rather than a dict #90
1216
+ * add benchmarks table to docs #91
1217
+
1218
+ ## v0.4.0 (2017-07-08)
1219
+
1220
+ * show length in string validation error
1221
+ * fix aliases in config during inheritance #55
1222
+ * simplify error display
1223
+ * use unicode ellipsis in `truncate`
1224
+ * add `parse_obj`, `parse_raw` and `parse_file` helper functions #58
1225
+ * switch annotation only fields to come first in fields list not last
1226
+
1227
+ ## v0.3.0 (2017-06-21)
1228
+
1229
+ * immutable models via `config.allow_mutation = False`, associated cleanup and performance improvement #44
1230
+ * immutable helper methods `construct()` and `copy()` #53
1231
+ * allow pickling of models #53
1232
+ * `setattr` is removed as `__setattr__` is now intelligent #44
1233
+ * `raise_exception` removed, Models now always raise exceptions #44
1234
+ * instance method validators removed
1235
+ * django-restful-framework benchmarks added #47
1236
+ * fix inheritance bug #49
1237
+ * make str type stricter so list, dict etc are not coerced to strings. #52
1238
+ * add `StrictStr` which only always strings as input #52
1239
+
1240
+ ## v0.2.1 (2017-06-07)
1241
+
1242
+ * pypi and travis together messed up the deploy of `v0.2` this should fix it
1243
+
1244
+ ## v0.2.0 (2017-06-07)
1245
+
1246
+ * **breaking change**: `values()` on a model is now a method not a property,
1247
+ takes `include` and `exclude` arguments
1248
+ * allow annotation only fields to support mypy
1249
+ * add pretty `to_string(pretty=True)` method for models
1250
+
1251
+ ## v0.1.0 (2017-06-03)
1252
+
1253
+ * add docs
1254
+ * add history