From 79e44f6212a44de4ed5f179810d6949f5c675f45 Mon Sep 17 00:00:00 2001 From: Moritz Schott Date: Fri, 17 Nov 2023 17:01:46 +0100 Subject: [PATCH] doc: changelog --- CHANGELOG.md | 1 + ohsome/clients.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1957777..8f218bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - support for python 3.12 - custom [retry](https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html#urllib3.util.Retry) configuration - start and end timestamp meta information of the client are now datetime objects + - accept shapely Polygon and MultiPolygon for `bpolys` input parameter - if a request fails a bash script containing the respective `curl` command is logged (if possible). This allows for easier debugging and sharing of failed requests. ### Removed diff --git a/ohsome/clients.py b/ohsome/clients.py index e0215a4..35f167d 100644 --- a/ohsome/clients.py +++ b/ohsome/clients.py @@ -276,7 +276,7 @@ def post( properties: Optional[Union[str, List[str]]] = None, clipGeometry: Optional[bool] = None, endpoint: Optional[str] = None, - ): + ) -> OhsomeResponse: """ Sends request to ohsome API