From 8b4269012c7cbcd786f34c80f8eea73d2d0b1a18 Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Fri, 14 Jun 2024 17:18:58 +0200 Subject: [PATCH] Added missing binding --- python_binding/graph/pybind_GraphView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python_binding/graph/pybind_GraphView.cpp b/python_binding/graph/pybind_GraphView.cpp index a0b52722a..4e74be887 100644 --- a/python_binding/graph/pybind_GraphView.cpp +++ b/python_binding/graph/pybind_GraphView.cpp @@ -30,6 +30,8 @@ void init_GraphView(py::module& m) { :param path: save location :type path: str )mydelimiter") + .def("in_view", (bool (GraphView::*)(const NodePtr&) const) &GraphView::inView) + .def("in_view", (bool (GraphView::*)(const std::string&) const) &GraphView::inView) .def("root_node", &GraphView::rootNode) .def("set_root_node", &GraphView::setRootNode, py::arg("node")) .def("log_outputs", &GraphView::logOutputs, py::arg("path")) -- GitLab