]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/connection.py
add type annotations for indexer
[nominatim.git] / nominatim / db / connection.py
index 5a1b46959d457b6ce3f9dd7e4d3e6b00590f9434..25ddcba4c887d46039ba765ff57952f9288852ba 100644 (file)
@@ -74,7 +74,7 @@ class Cursor(psycopg2.extras.DictCursor):
         if cascade:
             sql += ' CASCADE'
 
-        self.execute(pysql.SQL(sql).format(pysql.Identifier(name))) # type: ignore[no-untyped-call]
+        self.execute(pysql.SQL(sql).format(pysql.Identifier(name)))
 
 
 class Connection(psycopg2.extensions.connection):