Skip to content

Commit 2b8033c

Browse files
committed
FIX: Fix Iterable typing
1 parent 6849e52 commit 2b8033c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

databento/common/parsing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from collections.abc import Iterable
1+
from collections.abc import Iterable as IterableABC
22
from datetime import date
33
from functools import partial, singledispatch
4-
from typing import Optional, Union
4+
from typing import Iterable, Optional, Union
55

66
import pandas as pd
77
from databento.common.enums import SType
@@ -147,7 +147,7 @@ def _(symbols: str, stype_in: SType) -> str:
147147
return symbols.strip().upper()
148148

149149

150-
@optional_symbols_list_to_string.register(cls=Iterable)
150+
@optional_symbols_list_to_string.register(cls=IterableABC)
151151
def _(symbols: Union[Iterable[str], Iterable[int]], stype_in: SType) -> str:
152152
"""
153153
Dispatch method for optional_symbols_list_to_string.

0 commit comments

Comments
 (0)