Skip to content

Commit

Permalink
Adding type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielxcarter committed Nov 14, 2023
1 parent f6937cf commit 4820a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/sinks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4820a35

Please sign in to comment.