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 47e64af commit 69e971eCopy full SHA for 69e971e
pyistp/drivers/__init__.py
@@ -1,12 +1,12 @@
1
import logging, os
2
import importlib
3
-from typing import Callable, ByteString
+from typing import Callable
4
from ._driver import Driver
5
6
log = logging.getLogger(__name__)
7
8
9
-def _load_cdf_lib() -> Callable[[str or ByteString], Driver]:
+def _load_cdf_lib() -> Callable[[str or bytes or bytearray or memoryview], Driver]:
10
available_libs = ["pycdfpp", "spacepy"]
11
try_first_lib = os.environ.get("PYISTP_CDFLIB", "pycdfpp")
12
available_libs.remove(try_first_lib)
0 commit comments