feat: add bigjs to function node; (#77)

* feat: add bigjs to function node;

* fix test

* fix tests

* fix fmt
This commit is contained in:
stefan-gorules
2023-08-28 17:21:31 +02:00
committed by GitHub
parent c2741bd1ff
commit a03978fbe7
14 changed files with 118 additions and 29 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ impl From<PyObject> for PyDecisionLoader {
impl PyDecisionLoader {
fn load_element(&self, key: &str) -> Result<Arc<DecisionContent>, anyhow::Error> {
let Some(object) = &self.0 else {
return Err(anyhow!("Loader is not defined"))
return Err(anyhow!("Loader is not defined"));
};
let content = Python::with_gil(|py| {