mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
switch reverse() to new Geometry datatype
Also switches to using bind parameters for recurring parameters.
This commit is contained in:
@@ -66,7 +66,8 @@ class NominatimAPIAsync:
|
||||
username=dsn.get('user'), password=dsn.get('password'),
|
||||
host=dsn.get('host'), port=int(dsn['port']) if 'port' in dsn else None,
|
||||
query=query)
|
||||
engine = sa_asyncio.create_async_engine(dburl, future=True)
|
||||
engine = sa_asyncio.create_async_engine(dburl, future=True,
|
||||
echo=self.config.get_bool('DEBUG_SQL'))
|
||||
|
||||
try:
|
||||
async with engine.begin() as conn:
|
||||
|
||||
Reference in New Issue
Block a user