Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: deal with typing surrounding Field.metadata while maintaining pydantic1/2 compat #234

Open
tlambert03 opened this issue Dec 12, 2023 · 0 comments

Comments

@tlambert03
Copy link
Owner

there's a lot of hacks we're having to do in our internal type checking, lots of type: ignores and stuff, surrounding the metadata field in pydantic.Field ... which has been removed in favor of json_schema_extra (which isn't exactly the same thing). While we retain cross-compatibility with pydantic 1/2, might just need to keep ignoring these things. but it's something to remember

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant