Skip to content

Commit 737dc2e

Browse files
committed
src - Add type hints
1 parent 07c1bc9 commit 737dc2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

overpy/format/geojson.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import json
2-
from typing import Optional, TextIO
2+
from typing import Any, Dict, Optional, TextIO
33

44
import overpy
55

@@ -22,7 +22,7 @@ def dump(result: overpy.Result, fp: TextIO, nodes: bool = False, ways: bool = Fa
2222
features = []
2323
if nodes:
2424
for node in result.nodes:
25-
properties = {}
25+
properties: Dict[str, Any] = {}
2626
features.append({
2727
"type": "Feature",
2828
"geometry": {

0 commit comments

Comments
 (0)