X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/98c1b923fc090f830b7b3a575e3d08ba399bd870..8dd218a1d0142379357cb48a8011830c935b6952:/src/nominatim_api/core.py?ds=sidebyside 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.