Skip to content

Commit 40e1737

Browse files
committed
temp fix to type problem
1 parent bf5bede commit 40e1737

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

narwhals/_sql/typing.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@
1212
SQLExprT = TypeVar("SQLExprT", bound="SQLExprAny")
1313
SQLExprT_contra = TypeVar("SQLExprT_contra", bound="SQLExprAny", contravariant=True)
1414
SQLLazyFrameT = TypeVar("SQLLazyFrameT", bound="SQLLazyFrameAny")
15+
16+
17+
# it needs to inherit from SQLExpr, but getting errors if passing SQLExprT
18+
class NativeSQLExpr(Any): ...

0 commit comments

Comments
 (0)