Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Feb 26, 2025
1 parent 53aaec6 commit 55cc04c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions packages/cubejs-backend-native/src/cross/clrepr_python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,10 @@ impl CLRepr {
Ok(match self {
CLRepr::Object(obj) => Self::into_py_dict_impl(obj, py)?,
other => {
return Err(PyErr::new::<PyNotImplementedError, _>(
"Unable to represent JsFunction in Python",
))
return Err(PyErr::new::<PyNotImplementedError, _>(format!(
"Unable to convert {:?} into PyDict",
other.kind()
)))
}
})
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-backend-native/src/python/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use neon::prelude::*;
use neon::types::Deferred;
use once_cell::sync::OnceCell;
use pyo3::prelude::*;
use pyo3::types::{PyDict, PyFunction, PyTuple};
use pyo3::types::{PyFunction, PyTuple};
use std::fmt::Formatter;
use std::future::Future;
use std::pin::Pin;
Expand Down

0 comments on commit 55cc04c

Please sign in to comment.