Skip to content

Commit a3fadf7

Browse files
committed
Fix type annotation for Python < 3.9
1 parent 5b205fd commit a3fadf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlestoredb/http/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def encode_decimal(o: decimal.Decimal) -> str:
233233

234234
if has_numpy:
235235

236-
def encode_ndarray(obj: np.ndarray[Any, Any]) -> bytes:
236+
def encode_ndarray(obj: np.ndarray) -> bytes: # type: ignore
237237
"""Encode an ndarray as bytes."""
238238
return obj.tobytes()
239239

0 commit comments

Comments
 (0)