Skip to content

Conversation

@estebanx64
Copy link
Contributor

No description provided.

@tiangolo tiangolo changed the title 🐛 Fix varchar set limit when max_length is set on pydantic models 🐛 Fix set varchar limit when max_length is set on Pydantic models using Pydantic v2 Jun 4, 2024
@tiangolo
Copy link
Member

tiangolo commented Jun 4, 2024

Great, thanks! 🚀

I moved the import of annotated_types to the Pydantic v2 section as it is required only by Pydantic v2 but not by Pydantic v1.

I still don't have something in the CI tests to check for those cases, I should add that. 🤔

But this is done, great job, thank you! 🚀

@tiangolo tiangolo added the bug Something isn't working label Jun 4, 2024
@tiangolo tiangolo enabled auto-merge (squash) June 4, 2024 00:38
@tiangolo tiangolo merged commit 5bb4cff into main Jun 4, 2024
@tiangolo tiangolo deleted the FL-389-fix-database-string-max-length branch June 4, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

3 participants