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.
1 parent ec08949 commit a4de0bbCopy full SHA for a4de0bb
narwhals/_sql/typing.py
@@ -16,7 +16,8 @@
16
SQLExprT = TypeVar("SQLExprT", bound="SQLExprAny")
17
SQLExprT_contra = TypeVar("SQLExprT_contra", bound="SQLExprAny", contravariant=True)
18
SQLLazyFrameT = TypeVar("SQLLazyFrameT", bound="SQLLazyFrameAny")
19
-NativeSQLExprT = TypeVar("NativeSQLExprT", bound="NativeSQLExpr")
+# TODO: @mp, should this be contravariant as to do with function arguments? think through!
20
+NativeSQLExprT = TypeVar("NativeSQLExprT", bound="NativeSQLExpr")
21
22
class NativeSQLExpr(NativeExpr):
23
# both Self because we're comparing an expression with an expression?
0 commit comments