Skip to content

Commit a6fd8e4

Browse files
committed
chore: fmt
1 parent 162c65a commit a6fd8e4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/context.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,7 @@ impl PySessionContext {
301301

302302
#[classmethod]
303303
#[pyo3(signature = ())]
304-
fn _global_ctx(
305-
_cls: &Bound<'_, PyType>,
306-
) -> PyResult<Self> {
304+
fn _global_ctx(_cls: &Bound<'_, PyType>) -> PyResult<Self> {
307305
Ok(Self {
308306
ctx: get_global_ctx().clone(),
309307
})

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
use crate::errors::DataFusionError;
1919
use crate::TokioRuntime;
20+
use datafusion::execution::context::SessionContext;
2021
use datafusion::logical_expr::Volatility;
2122
use pyo3::prelude::*;
2223
use std::future::Future;
2324
use std::sync::OnceLock;
2425
use tokio::runtime::Runtime;
25-
use datafusion::execution::context::SessionContext;
2626

2727
/// Utility to get the Tokio Runtime from Python
2828
#[inline]

0 commit comments

Comments
 (0)