Skip to content

Commit 88b067e

Browse files
minor fix to stubs file (#39)
2 parents e5fd5d8 + f0d5c76 commit 88b067e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tunits/core/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class ValueArray(Generic[ValueType2], WithUnit):
323323
def from_proto(cls: type[T], msg: tunits_pb2.ValueArray) -> T: ...
324324
def to_proto(self, msg: tunits_pb2.ValueArray | None = None) -> tunits_pb2.ValueArray: ...
325325
def __init__(self, data: Any, unit: Any = None) -> None: ...
326-
def allclose(self, other: ValueArray, *args: Any, **kwargs: dict[str, Any]) -> bool: ...
326+
def allclose(self, other: ValueArray | Value, *args: Any, **kwargs: float) -> bool: ...
327327
def __array__(self, dtype: DTypeLike = None) -> NDArray[Any]: ...
328328
def __array_wrap__(self, out_arr: NDArray[Any], context: Any = None) -> NDArray[Any]: ...
329329
def __copy__(self: ArrayType) -> ArrayType: ...

0 commit comments

Comments
 (0)