diff --git a/singlestoredb/http/connection.py b/singlestoredb/http/connection.py index 3ffd5a30..7e4e3883 100644 --- a/singlestoredb/http/connection.py +++ b/singlestoredb/http/connection.py @@ -233,7 +233,7 @@ def encode_decimal(o: decimal.Decimal) -> str: if has_numpy: - def encode_ndarray(obj: np.ndarray[Any, Any]) -> bytes: + def encode_ndarray(obj: np.ndarray) -> bytes: # type: ignore """Encode an ndarray as bytes.""" return obj.tobytes()