File tree Expand file tree Collapse file tree 2 files changed +9
-29
lines changed
Expand file tree Collapse file tree 2 files changed +9
-29
lines changed Original file line number Diff line number Diff line change 66import numpy .typing as npt
77from 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- == == == =
289try :
2910 from typing import TypeAlias # type: ignore
3011except 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 )
Original file line number Diff line number Diff line change 1616from singlestoredb .functions import Masked
1717from singlestoredb .functions import Table
1818from 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
2828from singlestoredb .functions .typing import JSON
2929from singlestoredb .functions .typing import numpy as npt
3030from singlestoredb .functions .typing import pandas as pdt
You can’t perform that action at this time.
0 commit comments