from ..util import TypingOnly
from ..util.typing import Literal
from ..util.typing import Self
+from ..util.typing import Unpack
if typing.TYPE_CHECKING:
+ from ._typing import _ByArgument
from ._typing import _ColumnExpressionArgument
from ._typing import _ColumnExpressionOrStrLabelArgument
from ._typing import _InfoType
fn_class.type, TypeEngine
):
python_type = fn_class.type.python_type
- python_expr = rf"Tuple\[.*{python_type.__name__}\]"
+ python_expr = rf".*{python_type.__name__}"
argspec = inspect.getfullargspec(fn_class)
- args = ", ".join(
- 'column("x")' for elem in argspec.args[1:]
- )
+ if fn_class.__name__ == "next_value":
+ args = "Sequence('x_seq')"
+ else:
+ args = ", ".join(
+ 'column("x")' for elem in argspec.args[1:]
+ )
count += 1
buf.write(