File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 14
14
is_dask_namespace ,
15
15
is_jax_array ,
16
16
is_jax_namespace ,
17
+ is_lazy_array ,
17
18
is_numpy_array ,
18
19
is_numpy_namespace ,
19
20
is_pydata_sparse_array ,
35
36
is_dask_namespace ,
36
37
is_jax_array ,
37
38
is_jax_namespace ,
39
+ is_lazy_array ,
38
40
is_numpy_array ,
39
41
is_numpy_namespace ,
40
42
is_pydata_sparse_array ,
56
58
"is_dask_namespace" ,
57
59
"is_jax_array" ,
58
60
"is_jax_namespace" ,
61
+ "is_lazy_array" ,
59
62
"is_numpy_array" ,
60
63
"is_numpy_namespace" ,
61
64
"is_pydata_sparse_array" ,
Original file line number Diff line number Diff line change @@ -32,5 +32,6 @@ def is_jax_array(x: object, /) -> bool: ...
32
32
def is_numpy_array (x : object , / ) -> bool : ...
33
33
def is_pydata_sparse_array (x : object , / ) -> bool : ...
34
34
def is_torch_array (x : object , / ) -> bool : ...
35
+ def is_lazy_array (x : object , / ) -> bool : ...
35
36
def is_writeable_array (x : object , / ) -> bool : ...
36
37
def size (x : Array , / ) -> int | None : ...
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ def test_vendor_compat():
14
14
is_dask_namespace ,
15
15
is_jax_array ,
16
16
is_jax_namespace ,
17
+ is_lazy_array ,
17
18
is_numpy_array ,
18
19
is_numpy_namespace ,
19
20
is_pydata_sparse_array ,
@@ -35,6 +36,7 @@ def test_vendor_compat():
35
36
assert not is_dask_namespace (xp )
36
37
assert not is_jax_array (x )
37
38
assert not is_jax_namespace (xp )
39
+ assert not is_lazy_array (x )
38
40
assert not is_numpy_array (x )
39
41
assert not is_numpy_namespace (xp )
40
42
assert not is_pydata_sparse_array (x )
You can’t perform that action at this time.
0 commit comments