Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Commit 3cd1316

Browse files
committed
Add type hints
1 parent b83016d commit 3cd1316

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_api.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from datetime import datetime, timezone
99
from distutils.util import strtobool
1010
from pathlib import Path
11+
from typing import Union
1112

1213
import geojson
1314
import overpass
@@ -38,9 +39,9 @@ def test_initialize_api():
3839
]
3940
)
4041
def test_geojson(
41-
query,
42-
length,
43-
response,
42+
query: Union[overpass.MapQuery, str],
43+
length: int,
44+
response: Path,
4445
requests_mock
4546
):
4647
api = overpass.API(debug=True)

0 commit comments

Comments
 (0)