File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments