diff --git a/python_binding/graph/pybind_Node.cpp b/python_binding/graph/pybind_Node.cpp index d8e77bb259cbcbae7940a09dc405bb8f50b5b79b..35f6327444a874d8f5c2e94da6520244e095263a 100644 --- a/python_binding/graph/pybind_Node.cpp +++ b/python_binding/graph/pybind_Node.cpp @@ -34,6 +34,11 @@ void init_Node(py::module& m) { Type of the node. )mydelimiter") + .def("attributes", &Node::attributes, + R"mydelimiter( + Get attributes. + )mydelimiter") + .def("get_operator", &Node::getOperator, R"mydelimiter( Get the Operator object of the Node. @@ -48,7 +53,7 @@ void init_Node(py::module& m) { :rtype: str )mydelimiter") - .def("create_unique_name", &Node::createUniqueName, py::arg("base_name"), + .def("create_unique_name", &Node::createUniqueName, py::arg("base_name"), R"mydelimiter( Given a base name, generate a new name which is unique in all the GraphViews containing this node.