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
Polyfactory's SQLAlchemyFactory doesn't seem to respect the string length specified when populating a SQLAlchemy model. For example, a field defined as mapped_column(String(1)) is consistently assigned a 20 character string. Ditto for a field defined as mapped_column(String(100))–also consistently a 20 character string. (20 character strings seem to be the default length for the underlying faker.pystr() provider.)
Description
Polyfactory's
SQLAlchemyFactory
doesn't seem to respect the string length specified when populating a SQLAlchemy model. For example, a field defined asmapped_column(String(1))
is consistently assigned a 20 character string. Ditto for a field defined asmapped_column(String(100))
–also consistently a 20 character string. (20 character strings seem to be the default length for the underlyingfaker.pystr()
provider.)URL to code causing the issue
No response
MCVE
Steps to reproduce
Release Version
2.17.0
Platform
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: