forked from hans/Nominatim
'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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user