X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/02364ce6c8334b314ea543becbb93381e6c1c1ee..2b87c016db1dd7a03b5cafe385209529a7457fc6:/src/nominatim_api/core.py diff --git a/src/nominatim_api/core.py b/src/nominatim_api/core.py index 3cf9e989..b98c0ba7 100644 --- a/src/nominatim_api/core.py +++ b/src/nominatim_api/core.py @@ -184,7 +184,7 @@ class NominatimAPIAsync: assert self._tables is not None async with self._engine.begin() as conn: - yield SearchConnection(conn, self._tables, self._property_cache) + yield SearchConnection(conn, self._tables, self._property_cache, self.config) async def status(self) -> StatusResult: """ Return the status of the database.