@@ -1203,7 +1203,7 @@ async def _get_selection(
12031203 prototype : BufferPrototype ,
12041204 out : NDBuffer | None = None ,
12051205 fields : Fields | None = None ,
1206- ) -> npt . ArrayLike :
1206+ ) -> NDArrayLike :
12071207 # check fields are sensible
12081208 out_dtype = check_fields (fields , self .dtype )
12091209
@@ -1253,7 +1253,7 @@ async def getitem(
12531253 selection : BasicSelection ,
12541254 * ,
12551255 prototype : BufferPrototype | None = None ,
1256- ) -> npt . ArrayLike :
1256+ ) -> NDArrayLike :
12571257 """
12581258 Asynchronous function that retrieves a subset of the array's data based on the provided selection.
12591259
@@ -1266,7 +1266,7 @@ async def getitem(
12661266
12671267 Returns
12681268 -------
1269- npt.ArrayLike
1269+ NDArrayLike
12701270 The retrieved subset of the array's data.
12711271
12721272 Examples
@@ -2224,7 +2224,7 @@ def __array__(
22242224
22252225 return arr_np
22262226
2227- def __getitem__ (self , selection : Selection ) -> npt . ArrayLike :
2227+ def __getitem__ (self , selection : Selection ) -> NDArrayLike :
22282228 """Retrieve data for an item or region of the array.
22292229
22302230 Parameters
@@ -2235,7 +2235,7 @@ def __getitem__(self, selection: Selection) -> npt.ArrayLike:
22352235
22362236 Returns
22372237 -------
2238- npt.ArrayLike
2238+ NDArrayLike
22392239 An array-like containing the data for the requested region.
22402240
22412241 Examples
@@ -2482,7 +2482,7 @@ def get_basic_selection(
24822482 out : NDBuffer | None = None ,
24832483 prototype : BufferPrototype | None = None ,
24842484 fields : Fields | None = None ,
2485- ) -> npt . ArrayLike :
2485+ ) -> NDArrayLike :
24862486 """Retrieve data for an item or region of the array.
24872487
24882488 Parameters
@@ -2702,7 +2702,7 @@ def get_orthogonal_selection(
27022702 out : NDBuffer | None = None ,
27032703 fields : Fields | None = None ,
27042704 prototype : BufferPrototype | None = None ,
2705- ) -> npt . ArrayLike :
2705+ ) -> NDArrayLike :
27062706 """Retrieve data by making a selection for each dimension of the array. For
27072707 example, if an array has 2 dimensions, allows selecting specific rows and/or
27082708 columns. The selection for each dimension can be either an integer (indexing a
@@ -2938,7 +2938,7 @@ def get_mask_selection(
29382938 out : NDBuffer | None = None ,
29392939 fields : Fields | None = None ,
29402940 prototype : BufferPrototype | None = None ,
2941- ) -> npt . ArrayLike :
2941+ ) -> NDArrayLike :
29422942 """Retrieve a selection of individual items, by providing a Boolean array of the
29432943 same shape as the array against which the selection is being made, where True
29442944 values indicate a selected item.
@@ -3100,7 +3100,7 @@ def get_coordinate_selection(
31003100 out : NDBuffer | None = None ,
31013101 fields : Fields | None = None ,
31023102 prototype : BufferPrototype | None = None ,
3103- ) -> npt . ArrayLike :
3103+ ) -> NDArrayLike :
31043104 """Retrieve a selection of individual items, by providing the indices
31053105 (coordinates) for each selected item.
31063106
@@ -3288,7 +3288,7 @@ def get_block_selection(
32883288 out : NDBuffer | None = None ,
32893289 fields : Fields | None = None ,
32903290 prototype : BufferPrototype | None = None ,
3291- ) -> npt . ArrayLike :
3291+ ) -> NDArrayLike :
32923292 """Retrieve a selection of individual items, by providing the indices
32933293 (coordinates) for each selected item.
32943294
@@ -3306,7 +3306,7 @@ def get_block_selection(
33063306
33073307 Returns
33083308 -------
3309- npt.ArrayLike
3309+ NDArrayLike
33103310 An array-like containing the data for the requested block selection.
33113311
33123312 Examples
0 commit comments