Bug: Wrong type date generated for annotated datetime in pydantic factory
#734 · Python · ★ 1.5k · MIT · updated 1mo ago
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…
replies in ~26d8/18 outside PRs merged1 PR rotting >90dmaintainer left guidancehas repro stepssomeone tried before
Cleared 1m ago