File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
packages/cubejs-backend-native/src Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -193,9 +193,10 @@ impl CLRepr {
193193 Ok ( match self {
194194 CLRepr :: Object ( obj) => Self :: into_py_dict_impl ( obj, py) ?,
195195 other => {
196- return Err ( PyErr :: new :: < PyNotImplementedError , _ > (
197- "Unable to represent JsFunction in Python" ,
198- ) )
196+ return Err ( PyErr :: new :: < PyNotImplementedError , _ > ( format ! (
197+ "Unable to convert {:?} into PyDict" ,
198+ other. kind( )
199+ ) ) )
199200 }
200201 } )
201202 }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use neon::prelude::*;
77use neon:: types:: Deferred ;
88use once_cell:: sync:: OnceCell ;
99use pyo3:: prelude:: * ;
10- use pyo3:: types:: { PyDict , PyFunction , PyTuple } ;
10+ use pyo3:: types:: { PyFunction , PyTuple } ;
1111use std:: fmt:: Formatter ;
1212use std:: future:: Future ;
1313use std:: pin:: Pin ;
You can’t perform that action at this time.
0 commit comments