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
+4 -1
View File
@@ -1,10 +1,13 @@
from __future__ import annotations
import re
from core.data_providers import DATA_PROVIDERS
from data.callsign import Callsign
from data.lookup_credentials import LookupCredentials
def get_call_info(callsign, lookup_credentials):
def get_call_info(callsign: str, lookup_credentials: LookupCredentials | None) -> Callsign:
"""Utility method to get the best set of data for a callsign as we can, using all enabled providers.
lookup_credentials is an optional object that carries the user's QRZ.com/HamQTH credentials, if they provided them,
to enable lookup using those providers."""