Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Usual mypy workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ltworf committed Aug 24, 2020
1 parent 177ca5a commit 5a271dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relational/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def load(filename: Union[str, Path]) -> 'Relation':
for row in loaded['content']:
if len(row) != len(header):
raise ValueError(f'Line {row} contains an incorrect amount of values')
t_row: Tuple[Optional[Union[int, float, str, Rdate]], ...] = load(row, Tuple[Optional[Union[int, float, str, Rdate]], ...])
t_row: Tuple[Optional[Union[int, float, str, Rdate]], ...] = load(row, Tuple[Optional[Union[int, float, str, Rdate]], ...]) # type: ignore
content.append(t_row)
return Relation(header, frozenset(content))

Expand Down

0 comments on commit 5a271dc

Please sign in to comment.