Skip to content

Commit

Permalink
3.8 tuple fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devdupont committed Jan 1, 2024
1 parent 68c468f commit a378caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avwx/data/build_stations.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from contextlib import suppress
from datetime import date
from pathlib import Path
from typing import Dict, Iterable, List, Optional
from typing import Dict, Iterable, List, Optional, Tuple

# library
import httpx
Expand Down Expand Up @@ -142,7 +142,7 @@ def format_station(code: str, station: List[str]) -> dict:
return nullify(ret)


def build_stations() -> tuple[dict, dict]:
def build_stations() -> Tuple[dict, dict]:
"""Builds the station dict from source file"""
stations, code_map = {}, {}
data = csv.reader(_SOURCE["airports"].splitlines())
Expand Down

0 comments on commit a378caf

Please sign in to comment.