mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-13 14:24:08 +00:00
'fix' issues with recent changes to psycopg2 typing
Some of the changes just make the warnings go away. The typing info is still incorrect on the stub side, as far as I can determine.
This commit is contained in:
@@ -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[no-untyped-call]
|
||||
LOG.debug(self.mogrify(query, args).decode('utf-8')) # type: ignore[arg-type]
|
||||
|
||||
super().execute(query, args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user