From a19ab2d4c9b65e971a2e57fac0fc8fa0f19649e0 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 10 Jun 2025 13:31:03 +0200 Subject: [PATCH] Fix: Handle error in Python `dataflow_descriptor` function --- apis/python/node/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/python/node/src/lib.rs b/apis/python/node/src/lib.rs index 2d3634cd..18e70c3e 100644 --- a/apis/python/node/src/lib.rs +++ b/apis/python/node/src/lib.rs @@ -230,7 +230,7 @@ impl Node { /// :rtype: dict pub fn dataflow_descriptor(&mut self, py: Python) -> eyre::Result { Ok( - pythonize::pythonize(py, &self.node.get_mut().dataflow_descriptor()) + pythonize::pythonize(py, &self.node.get_mut().dataflow_descriptor()?) .map(|x| x.unbind())?, ) }