KEMBAR78
Fix issue with config behavior being baked into the ref schema for enums by dmontagu · Pull Request #8920 · pydantic/pydantic · GitHub
Skip to content

Conversation

@dmontagu
Copy link
Contributor

@dmontagu dmontagu commented Feb 29, 2024

Fix #8858

Selected Reviewer: @hramezani

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 29, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d4f9ae4
Status: ✅  Deploy successful!
Preview URL: https://a67bf2f2.pydantic-docs2.pages.dev
Branch Preview URL: https://fix-use-enum-values-config-r.pydantic-docs2.pages.dev

View logs

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 29, 2024

CodSpeed Performance Report

Merging #8920 will not alter performance

Comparing fix-use-enum-values-config-ref (d4f9ae4) with main (0eb31fc)

Summary

✅ 10 untouched benchmarks

@dmontagu dmontagu added the relnotes-fix Used for bugfixes. label Feb 29, 2024
@dmontagu dmontagu changed the title Fix issue with config behavior being baked into a ref schema Fix issue with config behavior being baked into the ref schema for enums Feb 29, 2024
@sydney-runkle
Copy link
Contributor

Please review

@sydney-runkle sydney-runkle merged commit 2ff76ab into main Mar 1, 2024
@sydney-runkle sydney-runkle deleted the fix-use-enum-values-config-ref branch March 1, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use_enum_values=True has no effect if another model with the same enum has use_enum_values=False

3 participants