One more typing fix, refs #440

This commit is contained in:
Simon Willison 2022-06-14 09:07:57 -07:00
commit d9c715a2fc

View file

@ -176,7 +176,7 @@ class RowError(Exception):
def _extra_key_strategy( def _extra_key_strategy(
reader: Union[Iterable[dict], csv.DictReader[str]], reader: Iterable[dict],
ignore_extras: Optional[bool] = False, ignore_extras: Optional[bool] = False,
restkey: Optional[str] = None, restkey: Optional[str] = None,
) -> Iterable[dict]: ) -> Iterable[dict]: