Skip to content

Commit

Permalink
CDK: fix mypy
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
  • Loading branch information
artem1205 committed Dec 26, 2024
1 parent 61a3919 commit 2ff8edf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def parse(
"""
Parse CSV data from decompressed bytes.
"""
text_data = TextIOWrapper(data, encoding=self.encoding)
reader = csv.DictReader(text_data, delimiter=self.delimiter)
text_data = TextIOWrapper(data, encoding=self.encoding) # type: ignore
reader = csv.DictReader(text_data, delimiter=self.delimiter or ",")
yield from reader


Expand Down

0 comments on commit 2ff8edf

Please sign in to comment.