Skip to content

Commit 2242cb6

Browse files
c
1 parent 823ac99 commit 2242cb6

File tree

1 file changed

+2
-1
lines changed
  • py-polars/src/polars/functions

1 file changed

+2
-1
lines changed

py-polars/src/polars/functions/lazy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from polars._utils.wrap import wrap_df, wrap_expr, wrap_s
2626
from polars.datatypes import DTYPE_TEMPORAL_UNITS, Date, Datetime, Int64
2727
from polars.datatypes._parse import parse_into_datatype_expr
28-
from polars.lazyframe.frame import _select_engine
2928
from polars.lazyframe.opt_flags import (
3029
DEFAULT_QUERY_OPT_FLAGS,
3130
forward_old_opt_flags,
@@ -2174,6 +2173,8 @@ def collect_all(
21742173
lf = LazyFrame._from_pyldf(ldf)
21752174
return lf
21762175

2176+
from polars.lazyframe.frame import _select_engine
2177+
21772178
engine = _select_engine(engine)
21782179
out = plr.collect_all(lfs, engine, optimizations._pyoptflags)
21792180

0 commit comments

Comments
 (0)