]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/utils.py
try future annotations to resolve Generics compatibility
[nominatim.git] / nominatim / db / utils.py
index 9a7b4f164787b8abb03831477fe3b876357e9b25..d9154ed90160b5b0a4c01e72fc6df5de4a9002cf 100644 (file)
@@ -118,4 +118,4 @@ class CopyBuffer:
         """
         if self.buffer.tell() > 0:
             self.buffer.seek(0)
-            cur.copy_from(self.buffer, table, columns=columns) # type: ignore[no-untyped-call]
+            cur.copy_from(self.buffer, table, columns=columns) # type: ignore[arg-type]