Skip to content

Commit 7b478c6

Browse files
author
James William Pye
committed
Remove the load() method. It's been deprecated for a while now.
1 parent 15a9cf3 commit 7b478c6

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

postgresql/driver/pq3.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,18 +1243,6 @@ def _load_tuple_chunks(self, chunks):
12431243
self.database.pq.synchronize()
12441244
raise
12451245

1246-
def load(self, iterable, tps = None):
1247-
"""
1248-
WARNING: Deprecated, use load_chunks and load_rows instead.
1249-
"""
1250-
if self.closed is None:
1251-
self._fini()
1252-
if isinstance(iterable, Chunks):
1253-
l = self.load_chunks
1254-
else:
1255-
l = self.load_rows
1256-
return l(iterable)
1257-
12581246
def load_chunks(self, chunks):
12591247
"""
12601248
Execute the query for each row-parameter set in `iterable`.

0 commit comments

Comments
 (0)