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