Skip to content

Commit 7ae5766

Browse files
committed
fix import
1 parent bea4427 commit 7ae5766

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/array_api_extra/_funcs.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations # https://github.com/pylint-dev/pylint/pull/9990
22

33
import operator
4+
import typing
45
import warnings
56

67
# https://github.com/pylint-dev/pylint/issues/10112
@@ -14,7 +15,9 @@
1415
is_dask_array,
1516
is_writeable_array,
1617
)
17-
from ._lib._typing import Array, Index, ModuleType, Untyped
18+
19+
if typing.TYPE_CHECKING:
20+
from ._lib._typing import Array, Index, ModuleType, Untyped
1821

1922
__all__ = [
2023
"at",

0 commit comments

Comments
 (0)