X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9659afbade47d1ec6d5359b2b21e1e874516ed80..98c1b923fc090f830b7b3a575e3d08ba399bd870:/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.*