Skip to content

Commit d9fb831

Browse files
committed
types
Signed-off-by: Daniel King <[email protected]>
1 parent 7dfbcd6 commit d9fb831

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vortex-python/python/vortex/_lib/expr.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ def root() -> Expr: ...
2929
def literal(dtype: DType, value: ScalarPyType) -> Expr: ...
3030
def not_(child: Expr) -> Expr: ...
3131
def and_(left: Expr, right: Expr) -> Expr: ...
32+
def cast(child: Expr, dtype: DType) -> Expr: ...

vortex-python/python/vortex/expr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# SPDX-FileCopyrightText: Copyright the Vortex contributors
33

44

5-
from ._lib.expr import Expr, and_, column, literal, not_, root # pyright: ignore[reportMissingModuleSource]
5+
from ._lib.expr import Expr, and_, column, literal, not_, root, cast # pyright: ignore[reportMissingModuleSource]
66

7-
__all__ = ["Expr", "column", "literal", "root", "not_", "and_"]
7+
__all__ = ["Expr", "column", "literal", "root", "not_", "and_", "cast"]

0 commit comments

Comments
 (0)