We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6849e52 commit 2b8033cCopy full SHA for 2b8033c
databento/common/parsing.py
@@ -1,7 +1,7 @@
1
-from collections.abc import Iterable
+from collections.abc import Iterable as IterableABC
2
from datetime import date
3
from functools import partial, singledispatch
4
-from typing import Optional, Union
+from typing import Iterable, Optional, Union
5
6
import pandas as pd
7
from databento.common.enums import SType
@@ -147,7 +147,7 @@ def _(symbols: str, stype_in: SType) -> str:
147
return symbols.strip().upper()
148
149
150
-@optional_symbols_list_to_string.register(cls=Iterable)
+@optional_symbols_list_to_string.register(cls=IterableABC)
151
def _(symbols: Union[Iterable[str], Iterable[int]], stype_in: SType) -> str:
152
"""
153
Dispatch method for optional_symbols_list_to_string.
0 commit comments