Skip to content

Commit d3407d7

Browse files
committed
Adds numpy.typing.NDArray
1 parent 5753e3b commit d3407d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/binary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class BinaryVector:
246246

247247
def __init__(
248248
self,
249-
data: Union[Sequence[float | int], np.ndarray],
249+
data: Union[Sequence[float | int], npt.NDArray[np.number]],
250250
dtype: BinaryVectorDtype,
251251
padding: int = 0,
252252
):

0 commit comments

Comments
 (0)