From 12ca448157ea2f0b11859469ef26675e7158298b Mon Sep 17 00:00:00 2001 From: jmriego Date: Thu, 2 Dec 2021 08:49:44 +0000 Subject: [PATCH] remove unused code about csv_files_to_load (#37) --- target_bigquery/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/target_bigquery/__init__.py b/target_bigquery/__init__.py index 0a72338..910d72d 100644 --- a/target_bigquery/__init__.py +++ b/target_bigquery/__init__.py @@ -63,7 +63,6 @@ def persist_lines(config, lines) -> None: key_properties = {} validators = {} records_to_load = {} - csv_files_to_load = {} row_count = {} stream_to_sync = {} total_row_count = {} @@ -197,8 +196,6 @@ def persist_lines(config, lines) -> None: row_count[stream] = 0 total_row_count[stream] = 0 - with NamedTemporaryFile(mode='w+b') as fh: - csv_files_to_load[stream] = fh elif t == 'ACTIVATE_VERSION': LOGGER.debug('ACTIVATE_VERSION message')