Skip to content
Snippets Groups Projects
Commit c33a907a authored by Octave Perrin's avatar Octave Perrin
Browse files

last minute corrections

parent f1fa102d
No related branches found
No related tags found
No related merge requests found
Pipeline #58563 passed
...@@ -119,11 +119,11 @@ void init_Node(py::module& m) { ...@@ -119,11 +119,11 @@ void init_Node(py::module& m) {
.def("input", &Node::input, py::arg("in_id"), .def("input", &Node::input, py::arg("in_id"),
R"mydelimiter( R"mydelimiter(
Get the parent Node and the associated output index connected to the i-th input of the current Node. Get the parent Node and the associated output index connected to the specified input of the current Node.
:param in_id: input index of the current Node object. :param in_id: input index of the current Node object.
:type in_id: int :type in_id: int
:return: i-th connection. When an input is not linked to any parent, the default value is (None, default_index) :return: The parent Node and the corresponding output index of the specified input of the current Node. When an input is not linked to any parent, the default value is (None, default_index)
:rtype: tuple[Node, int] :rtype: tuple[Node, int]
)mydelimiter") )mydelimiter")
...@@ -131,7 +131,7 @@ void init_Node(py::module& m) { ...@@ -131,7 +131,7 @@ void init_Node(py::module& m) {
R"mydelimiter( R"mydelimiter(
Get, for each output of the Node, a list of the children Node and the associated input index connected to it. Get, for each output of the Node, a list of the children Node and the associated input index connected to it.
:return: List of a list of connections. When an outut is not linked to any child, its list a empty. :return: List of a list of connections. When an output is not linked to any child, its list is empty.
:rtype: list[list[tuple[Node, int]]] :rtype: list[list[tuple[Node, int]]]
)mydelimiter") )mydelimiter")
...@@ -141,7 +141,8 @@ void init_Node(py::module& m) { ...@@ -141,7 +141,8 @@ void init_Node(py::module& m) {
:param out_id: input index of the current Node object. :param out_id: input index of the current Node object.
:type out_id: int :type out_id: int
:return: i-th connection. When an input is not linked to any parent, the default value is (None, default_index) :return: List of Nodes and their inputs that are connected to the specified output.
When an input is not linked to any parent, the default value is (None, default_index)
:rtype: list[tuple[Node, int]] :rtype: list[tuple[Node, int]]
)mydelimiter") )mydelimiter")
......
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