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
+2 -2
View File
@@ -44,11 +44,11 @@ impl PyZenEngine {
#[new]
pub fn new(maybe_options: Option<&PyDict>) -> PyResult<Self> {
let Some(options) = maybe_options else {
return Ok(Default::default())
return Ok(Default::default());
};
let Some(loader_any) = options.get_item("loader") else {
return Ok(Default::default())
return Ok(Default::default());
};
let loader = Python::with_gil(|py| loader_any.to_object(py));