Autogenerated type safety parameterisation of all methods

This commit is contained in:
Ian Renton
2026-09-20 20:02:19 +01:00
parent 6037e742cc
commit 324dd1414b
132 changed files with 1228 additions and 706 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
from __future__ import annotations
from dataclasses import dataclass
from core.enums import Continent, LocationSourceForCallsign
@@ -40,7 +42,7 @@ class Callsign:
# Location source
location_source: LocationSourceForCallsign | None = None
def fully_populated(self):
def fully_populated(self) -> bool:
"""Utility method to indicate that the callsign data is fully populated. Multiple providers can return data for
a callsign, and we try them in sequence until we have all the data we can, in which case there's no point
querying any other providers."""