diff --git a/narwhals/typing.py b/narwhals/typing.py index ebd89e7732..4923bbed7b 100644 --- a/narwhals/typing.py +++ b/narwhals/typing.py @@ -25,6 +25,7 @@ from narwhals.expr import Expr from narwhals.series import Series from narwhals.utils import Implementation + from narwhals.utils import Version # All dataframes supported by Narwhals have a # `columns` property. Their similarities don't extend @@ -79,6 +80,7 @@ def aggregate(self, *exprs: Any) -> Self: class CompliantExpr(Protocol, Generic[CompliantSeriesT_co]): _implementation: Implementation _backend_version: tuple[int, ...] + _version: Version _evaluate_output_names: Callable[ [CompliantDataFrame | CompliantLazyFrame], Sequence[str] ]