Autogenerated type safety parameterisation of all methods

This commit is contained in:
Ian Renton
2026-09-20 20:16:31 +01:00
parent 324dd1414b
commit 93ea27510f
131 changed files with 20 additions and 283 deletions
+2 -8
View File
@@ -1,17 +1,11 @@
from __future__ import annotations
from datetime import datetime
from typing import TYPE_CHECKING, Any
from typing import Any
import pytz
from core.data_store import DATA_STORE
from core.live_data_cache import LiveDataCache
if TYPE_CHECKING:
# Deferred to avoid a circular import: data.alert imports core.call_lookup_helper, which imports
# core.data_providers, which imports this module.
from data.alert import Alert
from data.alert import Alert
class AlertProvider:
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from datetime import datetime, timedelta
from typing import Any
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from datetime import datetime
from typing import Any
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import logging
from datetime import datetime
from threading import Event, Thread
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from datetime import date, datetime, time
from typing import Any, cast
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import re
from datetime import datetime
from typing import Any, cast
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import logging
from datetime import datetime
from typing import Any
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from datetime import datetime
from typing import Any
@@ -1,5 +1,3 @@
from __future__ import annotations
import re
from typing import Any
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
from providers.alert.rsgb_ical_alert_provider import RSGBICALAlertProvider
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
from providers.alert.rsgb_ical_alert_provider import RSGBICALAlertProvider
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from datetime import datetime
from typing import Any
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from typing import Any
from icalendar import Event
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
import logging
from datetime import datetime
from typing import Any, cast
-2
View File
@@ -1,5 +1,3 @@
from __future__ import annotations
from datetime import datetime
from typing import Any