Skip to content

Conversation

sydney-runkle
Copy link
Contributor

@sydney-runkle sydney-runkle commented Aug 19, 2024

A companion PR to pydantic/pydantic-core#1410 (we'll have to wait on a release with said change)

The idea here: move away from storing information used for JSON schema generation in the catchall metadata attribute, and instead explicitly store it on the core schema itself.

Also, we already store cls for dataclasses and models, so this makes things more consistent overall.

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Aug 19, 2024
Copy link

cloudflare-workers-and-pages bot commented Aug 19, 2024

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c3db3ef
Status: ✅  Deploy successful!
Preview URL: https://6bb8cff1.pydantic-docs.pages.dev
Branch Preview URL: https://move-to-schema.pydantic-docs.pages.dev

View logs

Copy link

codspeed-hq bot commented Aug 19, 2024

CodSpeed Performance Report

Merging #10180 will not alter performance

Comparing move-to-schema (c3db3ef) with main (0d3b0c3)

Summary

✅ 17 untouched benchmarks

@sydney-runkle sydney-runkle enabled auto-merge (squash) August 19, 2024 19:57
@sydney-runkle sydney-runkle added relnotes-change Used for changes to existing functionality which don't have a better categorization. and removed relnotes-fix Used for bugfixes. labels Aug 19, 2024
Copy link
Contributor

github-actions bot commented Aug 19, 2024

Coverage report

This PR does not seem to contain any modification to coverable code.

@sydney-runkle sydney-runkle merged commit 782b0cf into main Aug 19, 2024
@sydney-runkle sydney-runkle deleted the move-to-schema branch August 19, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes-change Used for changes to existing functionality which don't have a better categorization.

2 participants