More specific types.
This commit is contained in:
parent
02350ef4db
commit
135476b59f
|
@ -84,9 +84,9 @@ def get_busy_events(
|
|||
def get_location_for_date(
|
||||
target_date: date,
|
||||
trips: list[Trip],
|
||||
bookings: list[dict],
|
||||
accommodations: list[dict],
|
||||
airports: dict,
|
||||
bookings: list[StrDict],
|
||||
accommodations: list[StrDict],
|
||||
airports: StrDict,
|
||||
) -> tuple[str | None, pycountry.db.Country | None]:
|
||||
"""Get location (city, country) for a specific date using travel history."""
|
||||
# UK airports that indicate being home
|
||||
|
|
Loading…
Reference in a new issue