Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Dec 28, 2024
1 parent 162c65a commit a6fd8e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@ impl PySessionContext {

#[classmethod]
#[pyo3(signature = ())]
fn _global_ctx(
_cls: &Bound<'_, PyType>,
) -> PyResult<Self> {
fn _global_ctx(_cls: &Bound<'_, PyType>) -> PyResult<Self> {
Ok(Self {
ctx: get_global_ctx().clone(),
})
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a6fd8e4

Please sign in to comment.