Skip to content

Conversation

lig
Copy link
Contributor

@lig lig commented Jul 10, 2023

Change Summary

Update pydantic-core and add tests for max_length behavior with unicode characters

Related issue number

Fix #6542

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @adriangb

@lig
Copy link
Contributor Author

lig commented Jul 10, 2023

Depends on pydantic/pydantic-core#758

@lig lig force-pushed the lig/6542-str-field-max_length-constraint-panics-on-unicode-characters branch from 927b336 to 8a528b8 Compare July 11, 2023 16:30
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 11, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: fc5d855
Status: ✅  Deploy successful!
Preview URL: https://b9ec3a6e.pydantic-docs2.pages.dev
Branch Preview URL: https://lig-6542-str-field-max-lengt.pydantic-docs2.pages.dev

View logs

@lig lig force-pushed the lig/6542-str-field-max_length-constraint-panics-on-unicode-characters branch from 8a528b8 to fc5d855 Compare July 11, 2023 16:33
@lig lig marked this pull request as ready for review July 11, 2023 16:48
@lig
Copy link
Contributor Author

lig commented Jul 11, 2023

please review

@lig lig merged commit a64b9db into main Jul 11, 2023
@lig lig deleted the lig/6542-str-field-max_length-constraint-panics-on-unicode-characters branch July 11, 2023 16:50
@adriangb adriangb mentioned this pull request Jul 12, 2023
1 task
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.

str field max_length constraint panics on Unicode characters
2 participants