Browse Source

Fix: Handle error in Python `dataflow_descriptor` function

tags/v0.3.12-rc0
Philipp Oppermann 7 months ago
parent
commit
a19ab2d4c9
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apis/python/node/src/lib.rs

+ 1
- 1
apis/python/node/src/lib.rs View File

@@ -230,7 +230,7 @@ impl Node {
/// :rtype: dict
pub fn dataflow_descriptor(&mut self, py: Python) -> eyre::Result<PyObject> {
Ok(
pythonize::pythonize(py, &self.node.get_mut().dataflow_descriptor())
pythonize::pythonize(py, &self.node.get_mut().dataflow_descriptor()?)
.map(|x| x.unbind())?,
)
}


Loading…
Cancel
Save