blob: 07d37ccce290d9fc2703a0533685be1c9295e1f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from __future__ import annotations
from typing import Generic, Sequence
from narwhals._compliant.typing import NativeExprT_co
class WindowInputs(Generic[NativeExprT_co]):
__slots__ = ("order_by", "partition_by")
def __init__(
self, partition_by: Sequence[str | NativeExprT_co], order_by: Sequence[str]
) -> None:
self.partition_by = partition_by
self.order_by = order_by
|