adapt to newest version of mypy

This commit is contained in:
Sarah Hoffmann
2023-11-17 10:17:25 +01:00
parent 35a5424332
commit 1da2192fb0
3 changed files with 5 additions and 5 deletions

View 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[no-untyped-call]
LOG.debug(self.mogrify(query, args).decode('utf-8'))
super().execute(query, args)