@@ -1204,7 +1204,7 @@ async def _get_selection(
1204
1204
prototype : BufferPrototype ,
1205
1205
out : NDBuffer | None = None ,
1206
1206
fields : Fields | None = None ,
1207
- ) -> NDArrayLike :
1207
+ ) -> npt . ArrayLike :
1208
1208
# check fields are sensible
1209
1209
out_dtype = check_fields (fields , self .dtype )
1210
1210
@@ -1254,7 +1254,7 @@ async def getitem(
1254
1254
selection : BasicSelection ,
1255
1255
* ,
1256
1256
prototype : BufferPrototype | None = None ,
1257
- ) -> NDArrayLike :
1257
+ ) -> npt . ArrayLike :
1258
1258
"""
1259
1259
Asynchronous function that retrieves a subset of the array's data based on the provided selection.
1260
1260
@@ -1267,7 +1267,7 @@ async def getitem(
1267
1267
1268
1268
Returns
1269
1269
-------
1270
- NDArrayLike
1270
+ npt.ArrayLike
1271
1271
The retrieved subset of the array's data.
1272
1272
1273
1273
Examples
@@ -2225,7 +2225,7 @@ def __array__(
2225
2225
2226
2226
return arr_np
2227
2227
2228
- def __getitem__ (self , selection : Selection ) -> NDArrayLike :
2228
+ def __getitem__ (self , selection : Selection ) -> npt . ArrayLike :
2229
2229
"""Retrieve data for an item or region of the array.
2230
2230
2231
2231
Parameters
@@ -2236,7 +2236,7 @@ def __getitem__(self, selection: Selection) -> NDArrayLike:
2236
2236
2237
2237
Returns
2238
2238
-------
2239
- NDArrayLike
2239
+ npt.ArrayLike
2240
2240
An array-like containing the data for the requested region.
2241
2241
2242
2242
Examples
@@ -2483,7 +2483,7 @@ def get_basic_selection(
2483
2483
out : NDBuffer | None = None ,
2484
2484
prototype : BufferPrototype | None = None ,
2485
2485
fields : Fields | None = None ,
2486
- ) -> NDArrayLike :
2486
+ ) -> npt . ArrayLike :
2487
2487
"""Retrieve data for an item or region of the array.
2488
2488
2489
2489
Parameters
@@ -2703,7 +2703,7 @@ def get_orthogonal_selection(
2703
2703
out : NDBuffer | None = None ,
2704
2704
fields : Fields | None = None ,
2705
2705
prototype : BufferPrototype | None = None ,
2706
- ) -> NDArrayLike :
2706
+ ) -> npt . ArrayLike :
2707
2707
"""Retrieve data by making a selection for each dimension of the array. For
2708
2708
example, if an array has 2 dimensions, allows selecting specific rows and/or
2709
2709
columns. The selection for each dimension can be either an integer (indexing a
@@ -2939,7 +2939,7 @@ def get_mask_selection(
2939
2939
out : NDBuffer | None = None ,
2940
2940
fields : Fields | None = None ,
2941
2941
prototype : BufferPrototype | None = None ,
2942
- ) -> NDArrayLike :
2942
+ ) -> npt . ArrayLike :
2943
2943
"""Retrieve a selection of individual items, by providing a Boolean array of the
2944
2944
same shape as the array against which the selection is being made, where True
2945
2945
values indicate a selected item.
@@ -3101,7 +3101,7 @@ def get_coordinate_selection(
3101
3101
out : NDBuffer | None = None ,
3102
3102
fields : Fields | None = None ,
3103
3103
prototype : BufferPrototype | None = None ,
3104
- ) -> NDArrayLike :
3104
+ ) -> npt . ArrayLike :
3105
3105
"""Retrieve a selection of individual items, by providing the indices
3106
3106
(coordinates) for each selected item.
3107
3107
@@ -3289,7 +3289,7 @@ def get_block_selection(
3289
3289
out : NDBuffer | None = None ,
3290
3290
fields : Fields | None = None ,
3291
3291
prototype : BufferPrototype | None = None ,
3292
- ) -> NDArrayLike :
3292
+ ) -> npt . ArrayLike :
3293
3293
"""Retrieve a selection of individual items, by providing the indices
3294
3294
(coordinates) for each selected item.
3295
3295
@@ -3307,7 +3307,7 @@ def get_block_selection(
3307
3307
3308
3308
Returns
3309
3309
-------
3310
- NDArrayLike
3310
+ npt.ArrayLike
3311
3311
An array-like containing the data for the requested block selection.
3312
3312
3313
3313
Examples
0 commit comments