We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37ae114 commit 2a22fa8Copy full SHA for 2a22fa8
src/python_bindings.cpp
@@ -58,6 +58,9 @@ class Py_StatefulActionNode final : public StatefulActionNode
58
py::object Py_getInput(const TreeNode& node, const std::string& name)
59
{
60
py::object obj;
61
+
62
+ // The input could not exist on the blackboard, in which case we return Python
63
+ // `None` instead of an invalid object.
64
if (!node.getInput(name, obj).has_value())
65
66
return py::none();
0 commit comments