Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
as1729 committed Sep 20, 2024
1 parent 32c0e49 commit e7e81d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/src/lib/workbook_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import csv
from tempfile import _TemporaryFileWrapper
from typing import IO, Optional, Union
from typing import Optional

from openpyxl import Workbook
from openpyxl.worksheet.worksheet import Worksheet
Expand All @@ -19,8 +19,8 @@ def escape_for_csv(text: Optional[str]):


def convert_xlsx_to_csv(
csv_file: Union[IO[bytes], _TemporaryFileWrapper],
file: Union[IO[bytes], Workbook],
csv_file: _TemporaryFileWrapper[str],
file: Workbook,
num_rows: int,
):
"""
Expand Down

0 comments on commit e7e81d7

Please sign in to comment.