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

Add StringConstraints for use as Annotated metadata #6605

Merged
merged 9 commits into from Jul 14, 2023

Conversation

adriangb
Copy link
Member

@adriangb adriangb commented Jul 11, 2023

Related to #6506

Selected Reviewer: @samuelcolvin

@adriangb
Copy link
Member Author

please review

@cloudflare-pages
Copy link

cloudflare-pages bot commented Jul 11, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: fa297ec
Status: ✅  Deploy successful!
Preview URL: https://9edc9c6e.pydantic-docs2.pages.dev
Branch Preview URL: https://add-stringconstraints.pydantic-docs2.pages.dev

View logs

@adriangb
Copy link
Member Author

ready now :)

pydantic/types.py Outdated Show resolved Hide resolved
pydantic/types.py Outdated Show resolved Hide resolved
@samuelcolvin
Copy link
Member

Should we add documentation now?

@adriangb
Copy link
Member Author

Should we add documentation now?

Yes good call

@samuelcolvin
Copy link
Member

please update - add docs.

@adriangb
Copy link
Member Author

please review

@adriangb adriangb merged commit 8bc104f into main Jul 14, 2023
48 checks passed
@adriangb adriangb deleted the add-StringConstraints branch July 14, 2023 15:27
@andrewsw
Copy link

Should we add documentation now?

Yes good call

Are y'all aware you've documented the feature but not released it? I just spent an hour trying to figure out why I can't import StringConstraints on pydantic version 2.0.3.

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

Successfully merging this pull request may close these issues.

None yet

4 participants