Skip to content

Commit

Permalink
Update openmeteo_requests/Client.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent abbd9fa commit 4ffef19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openmeteo_requests/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def _get(self, cls: type[T], url: str, params: any, method: str, verify: bool |
pos += length + 4
return messages

def weather_api(self, url: str, params: any, method: str = "GET", verify: bool | str | None = None) -> list[WeatherApiResponse]:
def weather_api(
self, url: str, params: any, method: str = "GET", verify: bool | str | None = None
) -> list[WeatherApiResponse]:
"""Get and decode as weather api"""
return self._get(WeatherApiResponse, url, params, method, verify)

Expand Down

0 comments on commit 4ffef19

Please sign in to comment.