Skip to content

Commit

Permalink
make default_blank type Any
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Oct 31, 2023
1 parent 3ca7e11 commit f492eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gspread/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def finditem(func: Callable[[T], bool], seq: Iterable[T]) -> T:
def numericise(
value: Optional[AnyStr],
empty2zero: bool = False,
default_blank: Optional[AnyStr] = "",
default_blank: Any = "",
allow_underscores_in_numeric_literals: bool = False,
) -> Optional[Union[int, float, AnyStr]]:
"""Returns a value that depends on the input:
Expand Down Expand Up @@ -235,7 +235,7 @@ def numericise(
def numericise_all(
values: List[Optional[AnyStr]],
empty2zero: bool = False,
default_blank: Optional[AnyStr] = "",
default_blank: Any = "",
allow_underscores_in_numeric_literals: bool = False,
ignore: List[int] = [],
) -> List[Optional[Union[int, float, AnyStr]]]:
Expand Down

0 comments on commit f492eba

Please sign in to comment.