From 76d424e0b3e64c6b0cbb667afbb3885f78a0c82c Mon Sep 17 00:00:00 2001 From: Colin Blackburn Date: Wed, 13 Sep 2023 14:30:18 +0100 Subject: [PATCH] load takes an Iterator --- etlhelper/etl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etlhelper/etl.py b/etlhelper/etl.py index f13113a..3764df7 100644 --- a/etlhelper/etl.py +++ b/etlhelper/etl.py @@ -504,7 +504,7 @@ def copy_table_rows( def load( table: str, conn: Connection, - rows: list, + rows: Iterator, transform: Optional[Callable[[Chunk], Chunk]] = None, on_error: Optional[Callable] = None, commit_chunks: bool = True,