Fix types for python-dateutil's relativedelta (#12561)

This commit is contained in:
Frazer McLean
2024-08-20 16:45:37 +02:00
committed by GitHub
parent 225145cde5
commit c5ba20f315

View File

@@ -38,15 +38,15 @@ class relativedelta:
self,
dt1: date | None = None,
dt2: date | None = None,
years: int | None = 0,
months: int | None = 0,
days: int | None = 0,
leapdays: int | None = 0,
weeks: int | None = 0,
hours: int | None = 0,
minutes: int | None = 0,
seconds: int | None = 0,
microseconds: int | None = 0,
years: int = 0,
months: int = 0,
days: int = 0,
leapdays: int = 0,
weeks: int = 0,
hours: int = 0,
minutes: int = 0,
seconds: int = 0,
microseconds: int = 0,
year: int | None = None,
month: int | None = None,
day: int | None = None,