You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When overriding fields, the constraints for type are not longer used. I desired you would need to pass the constraints to faker method or transform the output of the method.
When overriding fields, the constraints for type are not longer used. I desired you would need to pass the constraints to faker method or transform the output of the method.
If i don't want to specify the constrains again besides the pydantic field, is the only option would be to create a declerative factory for the specific model like the pic below? (I see it does respect the Field constrains)
And that means i will not be able to use imperative creation?
Description
I have this pydantic model:
I have this base factory:
When i create a factory, it does not respect the pydantic Field constrains:
Release Version
2.18.1
The text was updated successfully, but these errors were encountered: