]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_api/lookup.py
fix style issue found by flake8
[nominatim.git] / src / nominatim_api / lookup.py
index 34739171d81c4ed1df37ce3c9d6a406897462b4b..89a0258e46372ac96656ec6906d093cfbfeab5bd 100644 (file)
@@ -127,7 +127,7 @@ async def find_in_postcode(conn: SearchConnection, place: ntyp.PlaceRef,
 
 async def find_in_all_tables(conn: SearchConnection, place: ntyp.PlaceRef,
                              add_geometries: GeomFunc
-                            ) -> Tuple[Optional[SaRow], RowFunc[nres.BaseResultT]]:
+                             ) -> Tuple[Optional[SaRow], RowFunc[nres.BaseResultT]]:
     """ Search for the given place in all data tables
         and return the base information.
     """
@@ -219,7 +219,6 @@ async def get_simple_place(conn: SearchConnection, place: ntyp.PlaceRef,
 
         return sql.add_columns(*out)
 
-
     row_func: RowFunc[nres.SearchResult]
     row, row_func = await find_in_all_tables(conn, place, _add_geometry)