Skip to content

Commit a4de0bb

Browse files
committed
wip operator: added thoughts
1 parent ec08949 commit a4de0bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

narwhals/_sql/typing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
SQLExprT = TypeVar("SQLExprT", bound="SQLExprAny")
1717
SQLExprT_contra = TypeVar("SQLExprT_contra", bound="SQLExprAny", contravariant=True)
1818
SQLLazyFrameT = TypeVar("SQLLazyFrameT", bound="SQLLazyFrameAny")
19-
NativeSQLExprT = TypeVar("NativeSQLExprT", bound="NativeSQLExpr")
19+
# TODO: @mp, should this be contravariant as to do with function arguments? think through!
20+
NativeSQLExprT = TypeVar("NativeSQLExprT", bound="NativeSQLExpr")
2021

2122
class NativeSQLExpr(NativeExpr):
2223
# both Self because we're comparing an expression with an expression?

0 commit comments

Comments
 (0)