From 4820a350ef18315636a13d60cd47022b24e18ef3 Mon Sep 17 00:00:00 2001 From: Jamiel Carter Date: Tue, 14 Nov 2023 18:00:52 -0500 Subject: [PATCH] Adding type ignore --- singer_sdk/sinks/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singer_sdk/sinks/core.py b/singer_sdk/sinks/core.py index 8d2c1f713..c77f978b9 100644 --- a/singer_sdk/sinks/core.py +++ b/singer_sdk/sinks/core.py @@ -533,7 +533,7 @@ def process_batch_files( mode="rb", ) as file: context_file = ( - gzip_open(file) if encoding.compression == "gzip" else file + gzip_open(file) if encoding.compression == "gzip" else file # type: ignore[attr-defined] ) context = {"records": [json.loads(line) for line in context_file]} self.process_batch(context)