diff --git a/polyfactory/value_generators/constrained_dates.py b/polyfactory/value_generators/constrained_dates.py index 8069b05e..629d7e16 100644 --- a/polyfactory/value_generators/constrained_dates.py +++ b/polyfactory/value_generators/constrained_dates.py @@ -38,4 +38,4 @@ def handle_constrained_date( elif lt: end_date = lt - timedelta(days=1) - return faker.date_between(start_date=start_date, end_date=end_date) + return faker.date_between(start_date=start_date, end_date=end_date) # type: ignore[return-value]