diff --git a/src/context.rs b/src/context.rs index 6ef810856..87ba14ed3 100644 --- a/src/context.rs +++ b/src/context.rs @@ -301,9 +301,7 @@ impl PySessionContext { #[classmethod] #[pyo3(signature = ())] - fn _global_ctx( - _cls: &Bound<'_, PyType>, - ) -> PyResult { + fn _global_ctx(_cls: &Bound<'_, PyType>) -> PyResult { Ok(Self { ctx: get_global_ctx().clone(), }) diff --git a/src/utils.rs b/src/utils.rs index e0779db6d..82ee8bea8 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -17,12 +17,12 @@ use crate::errors::DataFusionError; use crate::TokioRuntime; +use datafusion::execution::context::SessionContext; use datafusion::logical_expr::Volatility; use pyo3::prelude::*; use std::future::Future; use std::sync::OnceLock; use tokio::runtime::Runtime; -use datafusion::execution::context::SessionContext; /// Utility to get the Tokio Runtime from Python #[inline]