polars_pipe/operators/context.rs
1use polars_expr::state::ExecutionState;
2
3pub struct PExecutionContext {
4 // injected upstream in polars-lazy
5 pub(crate) execution_state: ExecutionState,
6 pub(crate) verbose: bool,
7}
8
9impl PExecutionContext {
10 pub(crate) fn new(state: ExecutionState, verbose: bool) -> Self {
11 PExecutionContext {
12 execution_state: state,
13 verbose,
14 }
15 }
16}