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

pydantic_extra_types #1805

Open
iBuitron opened this issue Sep 9, 2024 · 1 comment
Open

pydantic_extra_types #1805

iBuitron opened this issue Sep 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@iBuitron
Copy link

iBuitron commented Sep 9, 2024

Hi!
There are plans to add pydantic_extra_types?

https://docs.pydantic.dev/2.0/usage/types/extra_types/extra_types/

thx!

@iBuitron iBuitron added the enhancement New feature or request label Sep 9, 2024
@cosmicBboy
Copy link
Collaborator

hi @iBuitron, are you thinking of first-class support for these types?

I haven't tested this, but if you don't mind a performance hit, you should be able to use these leveraging the pandera-pydantic integration: https://pandera.readthedocs.io/en/stable/pydantic_integration.html

If you're thinking first-class support for Color, Payment Card, Phone Numbers, Routing Address, and MAC address types, I give my blessing to anyone who wants to make PRs for them!

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

No branches or pull requests

2 participants