Skip to content

Commit 665e898

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5c2c0ab commit 665e898

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

osm_data_client/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async def request_snapshot(
9292
except Exception as ex:
9393
log.error("Unexpected error in API request: %s", str(ex))
9494
raise APIRequestError(0, {}, str(ex)) from ex
95-
95+
9696
async def request_plain_geojson_snapshot(
9797
self, geometry: GeometryInput, params: RequestParams
9898
) -> dict[str, Any]:
@@ -338,11 +338,11 @@ async def get_osm_data(
338338
# Validate inputs
339339
geometry_input = GeometryInput.from_input(geometry)
340340
params = RequestParams.from_kwargs(**kwargs)
341-
341+
342342
if (
343-
params.output_type == "geojson" and
344-
params.bind_zip and
345-
not output_options.download_file
343+
params.output_type == "geojson"
344+
and params.bind_zip
345+
and not output_options.download_file
346346
):
347347
log.info("Requesting OSM geojson data snapshot")
348348
return await self.api.request_plain_geojson_snapshot(geometry_input, params)

0 commit comments

Comments
 (0)