team-10/venv/Lib/site-packages/narwhals/_duckdb/typing.py

19 lines
454 B
Python
Raw Permalink Normal View History

2025-08-02 02:00:33 +02:00
from __future__ import annotations
from typing import TYPE_CHECKING, TypedDict
if TYPE_CHECKING:
from collections.abc import Sequence
from duckdb import Expression
class WindowExpressionKwargs(TypedDict, total=False):
partition_by: Sequence[str | Expression]
order_by: Sequence[str | Expression]
rows_start: int | None
rows_end: int | None
descending: Sequence[bool]
nulls_last: Sequence[bool]
ignore_nulls: bool