Skip to content

Commit

Permalink
Minor fixes for type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
GjjvdBurg committed Sep 5, 2023
1 parent 2cf87e0 commit dff5800
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clevercsv/dict_read_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
Author: Gertjan van den Burg
"""

from __future__ import annotations

import warnings

from collections import OrderedDict
Expand Down Expand Up @@ -113,7 +116,7 @@ def __next__(self) -> "_DictReadMapping[Union[_T, Any], Union[str, Any]]":
class DictWriter(Generic[_T]):
def __init__(
self,
f: "SupportsWrite[str]",
f: SupportsWrite[str],
fieldnames: Collection[_T],
restval: Optional[Any] = "",
extrasaction: Literal["raise", "ignore"] = "raise",
Expand Down

0 comments on commit dff5800

Please sign in to comment.