polars_pipe/operators/
context.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use polars_expr::state::ExecutionState;

pub struct PExecutionContext {
    // injected upstream in polars-lazy
    pub(crate) execution_state: ExecutionState,
    pub(crate) verbose: bool,
}

impl PExecutionContext {
    pub(crate) fn new(state: ExecutionState, verbose: bool) -> Self {
        PExecutionContext {
            execution_state: state,
            verbose,
        }
    }
}