|
1 | | -import typing |
| 1 | +import typing as pytyping |
2 | 2 |
|
3 | 3 | __all__: list[str] = ["ARROW", "DEFAULT", "NATIVE", "SPECIAL", "FunctionNullHandling", "PythonUDFType"] |
4 | 4 |
|
5 | 5 | class FunctionNullHandling: |
6 | | - DEFAULT: typing.ClassVar[FunctionNullHandling] # value = <FunctionNullHandling.DEFAULT: 0> |
7 | | - SPECIAL: typing.ClassVar[FunctionNullHandling] # value = <FunctionNullHandling.SPECIAL: 1> |
8 | | - __members__: typing.ClassVar[ |
| 6 | + DEFAULT: pytyping.ClassVar[FunctionNullHandling] # value = <FunctionNullHandling.DEFAULT: 0> |
| 7 | + SPECIAL: pytyping.ClassVar[FunctionNullHandling] # value = <FunctionNullHandling.SPECIAL: 1> |
| 8 | + __members__: pytyping.ClassVar[ |
9 | 9 | dict[str, FunctionNullHandling] |
10 | 10 | ] # value = {'DEFAULT': <FunctionNullHandling.DEFAULT: 0>, 'SPECIAL': <FunctionNullHandling.SPECIAL: 1>} |
11 | 11 | def __eq__(self, other: object) -> bool: ... |
12 | 12 | def __getstate__(self) -> int: ... |
13 | 13 | def __hash__(self) -> int: ... |
14 | 14 | def __index__(self) -> int: ... |
15 | | - def __init__(self, value: typing.SupportsInt) -> None: ... |
| 15 | + def __init__(self, value: pytyping.SupportsInt) -> None: ... |
16 | 16 | def __int__(self) -> int: ... |
17 | 17 | def __ne__(self, other: object) -> bool: ... |
18 | | - def __setstate__(self, state: typing.SupportsInt) -> None: ... |
| 18 | + def __setstate__(self, state: pytyping.SupportsInt) -> None: ... |
19 | 19 | @property |
20 | 20 | def name(self) -> str: ... |
21 | 21 | @property |
22 | 22 | def value(self) -> int: ... |
23 | 23 |
|
24 | 24 | class PythonUDFType: |
25 | | - ARROW: typing.ClassVar[PythonUDFType] # value = <PythonUDFType.ARROW: 1> |
26 | | - NATIVE: typing.ClassVar[PythonUDFType] # value = <PythonUDFType.NATIVE: 0> |
27 | | - __members__: typing.ClassVar[ |
| 25 | + ARROW: pytyping.ClassVar[PythonUDFType] # value = <PythonUDFType.ARROW: 1> |
| 26 | + NATIVE: pytyping.ClassVar[PythonUDFType] # value = <PythonUDFType.NATIVE: 0> |
| 27 | + __members__: pytyping.ClassVar[ |
28 | 28 | dict[str, PythonUDFType] |
29 | 29 | ] # value = {'NATIVE': <PythonUDFType.NATIVE: 0>, 'ARROW': <PythonUDFType.ARROW: 1>} |
30 | 30 | def __eq__(self, other: object) -> bool: ... |
31 | 31 | def __getstate__(self) -> int: ... |
32 | 32 | def __hash__(self) -> int: ... |
33 | 33 | def __index__(self) -> int: ... |
34 | | - def __init__(self, value: typing.SupportsInt) -> None: ... |
| 34 | + def __init__(self, value: pytyping.SupportsInt) -> None: ... |
35 | 35 | def __int__(self) -> int: ... |
36 | 36 | def __ne__(self, other: object) -> bool: ... |
37 | | - def __setstate__(self, state: typing.SupportsInt) -> None: ... |
| 37 | + def __setstate__(self, state: pytyping.SupportsInt) -> None: ... |
38 | 38 | @property |
39 | 39 | def name(self) -> str: ... |
40 | 40 | @property |
|
0 commit comments