Skip to content

Commit

Permalink
src - Add type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
phibos committed Apr 29, 2021
1 parent 07c1bc9 commit 737dc2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overpy/format/geojson.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
from typing import Optional, TextIO
from typing import Any, Dict, Optional, TextIO

import overpy

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

0 comments on commit 737dc2e

Please sign in to comment.