X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0add25e33500110a36458a0bb3fa292d408d2b85..e1dc4379e0cd100200ac53752442143ca4846fc5:/src/nominatim_db/tools/admin.py diff --git a/src/nominatim_db/tools/admin.py b/src/nominatim_db/tools/admin.py index e70a7e50..b8e3cb56 100644 --- a/src/nominatim_db/tools/admin.py +++ b/src/nominatim_db/tools/admin.py @@ -22,6 +22,7 @@ from ..data.place_info import PlaceInfo LOG = logging.getLogger() + def _get_place_info(cursor: Cursor, osm_id: Optional[str], place_id: Optional[int]) -> DictCursorResult: sql = """SELECT place_id, extra.*