X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9056c9276fdf2d449abb27c9295a361ce31020ec..95c3181a350538317678d5fef5122ed4b284b012:/nominatim/api/lookup.py diff --git a/nominatim/api/lookup.py b/nominatim/api/lookup.py index 81e6f74d..e9181f47 100644 --- a/nominatim/api/lookup.py +++ b/nominatim/api/lookup.py @@ -183,9 +183,6 @@ async def get_detailed_place(conn: SearchConnection, place: ntyp.PlaceRef, # add missing details assert result is not None - result.parent_place_id = row.parent_place_id - result.linked_place_id = getattr(row, 'linked_place_id', None) - result.admin_level = getattr(row, 'admin_level', 15) indexed_date = getattr(row, 'indexed_date', None) if indexed_date is not None: result.indexed_date = indexed_date.replace(tzinfo=dt.timezone.utc)