in src/context.rs [223:238]
fn new(config: Option<PySessionConfig>, runtime: Option<PyRuntimeConfig>) -> PyResult<Self> {
let config = if let Some(c) = config {
c.config
} else {
SessionConfig::default().with_information_schema(true)
};
let runtime_config = if let Some(c) = runtime {
c.config
} else {
RuntimeConfig::default()
};
let runtime = Arc::new(RuntimeEnv::new(runtime_config)?);
Ok(PySessionContext {
ctx: SessionContext::with_config_rt(config, runtime),
})
}