Skip to content

Commit 49a4145

Browse files
committed
Update imports
1 parent 98f9b8b commit 49a4145

File tree

2 files changed

+9
-29
lines changed

2 files changed

+9
-29
lines changed

singlestoredb/functions/typing/numpy.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,6 @@
66
import numpy.typing as npt
77
from numpy import array # noqa: F401
88

9-
NDArray = npt.NDArray
10-
11-
StringArray = StrArray = npt.NDArray[np.str_]
12-
BytesArray = npt.NDArray[np.bytes_]
13-
Float32Array = FloatArray = npt.NDArray[np.float32]
14-
Float64Array = DoubleArray = npt.NDArray[np.float64]
15-
IntArray = npt.NDArray[np.int_]
16-
Int8Array = npt.NDArray[np.int8]
17-
Int16Array = npt.NDArray[np.int16]
18-
Int32Array = npt.NDArray[np.int32]
19-
Int64Array = npt.NDArray[np.int64]
20-
UInt8Array = npt.NDArray[np.uint8]
21-
UInt16Array = npt.NDArray[np.uint16]
22-
UInt32Array = npt.NDArray[np.uint32]
23-
UInt64Array = npt.NDArray[np.uint64]
24-
DateTimeArray = npt.NDArray[np.datetime64]
25-
TimeDeltaArray = npt.NDArray[np.timedelta64]
26-
JSONArray = npt.NDArray[np.object_]
27-
=======
289
try:
2910
from typing import TypeAlias # type: ignore
3011
except ImportError:
@@ -127,4 +108,3 @@ def default(self, obj: Any) -> Any:
127108

128109

129110
__all__ = ['array'] + [x for x in globals().keys() if x.endswith('Array')]
130-
>>>>>>> fd486846 (Implement transformers for UDF inputs and outputs)

singlestoredb/tests/ext_funcs/__init__.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
from singlestoredb.functions import Masked
1717
from singlestoredb.functions import Table
1818
from singlestoredb.functions import udf
19-
from singlestoredb.functions.dtypes import BIGINT
20-
from singlestoredb.functions.dtypes import BLOB
21-
from singlestoredb.functions.dtypes import BOOL
22-
from singlestoredb.functions.dtypes import DOUBLE
23-
from singlestoredb.functions.dtypes import FLOAT
24-
from singlestoredb.functions.dtypes import MEDIUMINT
25-
from singlestoredb.functions.dtypes import SMALLINT
26-
from singlestoredb.functions.dtypes import TEXT
27-
from singlestoredb.functions.dtypes import TINYINT
19+
from singlestoredb.functions.sql_types import BIGINT
20+
from singlestoredb.functions.sql_types import BLOB
21+
from singlestoredb.functions.sql_types import BOOL
22+
from singlestoredb.functions.sql_types import DOUBLE
23+
from singlestoredb.functions.sql_types import FLOAT
24+
from singlestoredb.functions.sql_types import MEDIUMINT
25+
from singlestoredb.functions.sql_types import SMALLINT
26+
from singlestoredb.functions.sql_types import TEXT
27+
from singlestoredb.functions.sql_types import TINYINT
2828
from singlestoredb.functions.typing import JSON
2929
from singlestoredb.functions.typing import numpy as npt
3030
from singlestoredb.functions.typing import pandas as pdt

0 commit comments

Comments
 (0)