Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
refactor: black
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Sep 28, 2023
1 parent c325adc commit b53a2e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bardapi/models/tools/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ def schedule(self) -> dict:
}

@property
def title(self) -> tuple[str, str]:
def title(self) -> Tuple[str, str]:
# Albertsons, "en"
return self._input_list[30]

def description(self) -> Optional[tuple[str, str]]:
def description(self) -> Optional[Tuple[str, str]]:
# ['Gourmet groceries, cheeses & baked goods are available at this casual deli in a resort setting.', 'en']
return self._input_list[51]

Expand Down Expand Up @@ -137,7 +137,7 @@ def road_name(self) -> str:
return self._map[0]

@property
def sections(self) -> list[BardMapsRoadSection]:
def sections(self) -> List[BardMapsRoadSection]:
return [BardMapsRoadSection(s) for s in self._map[1]]

@property
Expand Down Expand Up @@ -169,7 +169,7 @@ def tool_human_name(self) -> str:
return self._input_list[2][6][0]

@property
def points(self) -> list[BardMapsPoint]:
def points(self) -> List[BardMapsPoint]:
return (
[BardMapsPoint(point) for point in self._input_list[0][1]]
if self._input_list[0]
Expand Down

0 comments on commit b53a2e4

Please sign in to comment.