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 1414 is_dask_namespace ,
1515 is_jax_array ,
1616 is_jax_namespace ,
17+ is_lazy_array ,
1718 is_numpy_array ,
1819 is_numpy_namespace ,
1920 is_pydata_sparse_array ,
3536 is_dask_namespace ,
3637 is_jax_array ,
3738 is_jax_namespace ,
39+ is_lazy_array ,
3840 is_numpy_array ,
3941 is_numpy_namespace ,
4042 is_pydata_sparse_array ,
5658 "is_dask_namespace" ,
5759 "is_jax_array" ,
5860 "is_jax_namespace" ,
61+ "is_lazy_array" ,
5962 "is_numpy_array" ,
6063 "is_numpy_namespace" ,
6164 "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: ...
3232def is_numpy_array (x : object , / ) -> bool : ...
3333def is_pydata_sparse_array (x : object , / ) -> bool : ...
3434def is_torch_array (x : object , / ) -> bool : ...
35+ def is_lazy_array (x : object , / ) -> bool : ...
3536def is_writeable_array (x : object , / ) -> bool : ...
3637def size (x : Array , / ) -> int | None : ...
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ def test_vendor_compat():
1414 is_dask_namespace ,
1515 is_jax_array ,
1616 is_jax_namespace ,
17+ is_lazy_array ,
1718 is_numpy_array ,
1819 is_numpy_namespace ,
1920 is_pydata_sparse_array ,
@@ -35,6 +36,7 @@ def test_vendor_compat():
3536 assert not is_dask_namespace (xp )
3637 assert not is_jax_array (x )
3738 assert not is_jax_namespace (xp )
39+ assert not is_lazy_array (x )
3840 assert not is_numpy_array (x )
3941 assert not is_numpy_namespace (xp )
4042 assert not is_pydata_sparse_array (x )
You can’t perform that action at this time.
0 commit comments