Skip to content
Snippets Groups Projects
Commit 2d0e9b87 authored by Maxence Naud's avatar Maxence Naud
Browse files

[add] access to attributes of Node

parent 72f49431
No related branches found
No related tags found
3 merge requests!279v0.4.0,!253v0.4.0,!238Upd python binding
Pipeline #58406 failed
...@@ -34,6 +34,11 @@ void init_Node(py::module& m) { ...@@ -34,6 +34,11 @@ void init_Node(py::module& m) {
Type of the node. Type of the node.
)mydelimiter") )mydelimiter")
.def("attributes", &Node::attributes,
R"mydelimiter(
Get attributes.
)mydelimiter")
.def("get_operator", &Node::getOperator, .def("get_operator", &Node::getOperator,
R"mydelimiter( R"mydelimiter(
Get the Operator object of the Node. Get the Operator object of the Node.
...@@ -48,7 +53,7 @@ void init_Node(py::module& m) { ...@@ -48,7 +53,7 @@ void init_Node(py::module& m) {
:rtype: str :rtype: str
)mydelimiter") )mydelimiter")
.def("create_unique_name", &Node::createUniqueName, py::arg("base_name"), .def("create_unique_name", &Node::createUniqueName, py::arg("base_name"),
R"mydelimiter( R"mydelimiter(
Given a base name, generate a new name which is unique in all the GraphViews containing this node. Given a base name, generate a new name which is unique in all the GraphViews containing this node.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment