]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/connection.py
adapt typing to newest version of SQLAlchemy
[nominatim.git] / nominatim / db / connection.py
index a64cbfaf99102ac0b24b56e609ad6462999b229e..fce897bc7250c814d6679188a5c6281a8ac3790c 100644 (file)
@@ -31,7 +31,7 @@ class Cursor(psycopg2.extras.DictCursor):
         """ Query execution that logs the SQL query when debugging is enabled.
         """
         if LOG.isEnabledFor(logging.DEBUG):
-            LOG.debug(self.mogrify(query, args).decode('utf-8')) # type: ignore[arg-type]
+            LOG.debug(self.mogrify(query, args).decode('utf-8'))
 
         super().execute(query, args)