Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Nov 18, 2024
1 parent 073d1b2 commit 17b4c3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nomenklatura/statement/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def __init__(self, fh: TextIO) -> None:
self.fh = fh
self.writer = csv.writer(self.fh, dialect=csv.unix_dialect)
self.writer.writerow(CSV_COLUMNS)
self._batch: List[List[str]] = []
self._batch: List[List[Optional[str]]] = []

def write(self, stmt: S) -> None:
row = stmt.to_csv_row()
Expand All @@ -186,7 +186,7 @@ def __init__(self, fh: TextIO) -> None:
dialect=csv.unix_dialect,
quoting=csv.QUOTE_MINIMAL,
)
self._batch: List[List[str]] = []
self._batch: List[List[Optional[str]]] = []

def write(self, stmt: S) -> None:
row = stmt.to_csv_row()
Expand Down

0 comments on commit 17b4c3d

Please sign in to comment.