Cleared 1m ago · litestar-org/polyfactory #734 · Python · ★ 1.5k · MIT

Bug: Wrong type date generated for annotated datetime in pydantic factory

Description When using an annotated datetime type in a pydantic model, polyfactory generates random dates instead of random datetimes. This leads to unexpected results: time is always set to midnight breaks custom validators relying on e.g. tzinfo URL to code causing the issue No…

What we checked

Similar unclaimed issues