We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NativeExpr
1 parent c368a60 commit 7d3addcCopy full SHA for 7d3addc
narwhals/_compliant/expr.py
@@ -62,8 +62,13 @@
62
__all__ = ["CompliantExpr", "EagerExpr", "LazyExpr", "NativeExpr"]
63
64
65
-# NOTE: Only common methods for lazy expr-like objects
66
class NativeExpr(Protocol):
+ """An `Expr`-like object from a package with [Lazy-only support](https://narwhals-dev.github.io/narwhals/extending/#levels-of-support).
67
+
68
+ Protocol members are chosen *purely* for matching statically - as they
69
+ are common to all currently supported packages.
70
+ """
71
72
def between(self, *args: Any, **kwds: Any) -> Any: ...
73
def isin(self, *args: Any, **kwds: Any) -> Any: ...
74
0 commit comments