Skip to content

Commit 00db6e5

Browse files
committed
fix: wrong http_invoke method signature, declares returning a dict string rather than a string
1 parent 8523855 commit 00db6e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pygeofilter_aeronet/evaluator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ def http_invoke(
154154
cql2_filter: Dict,
155155
base_url: str = AERONET_API_BASE_URL,
156156
dry_run: bool = False,
157-
) -> Dict:
157+
) -> str:
158158
current_filter = to_aeronet_api(cql2_filter)
159159
url = f"{base_url}?{current_filter}"
160160
if dry_run:
161161
print(url)
162-
return {}
162+
return ''
163163

164164
response = requests.get(url)
165165
response.raise_for_status() # Raise an error for HTTP error codes

0 commit comments

Comments
 (0)