diff --git a/python_binding/graph/pybind_GraphView.cpp b/python_binding/graph/pybind_GraphView.cpp index a0b52722aa988b452667e1ee7a364913fd7e01c4..4e74be8878eb3ca081fd2d5457e42768f4026be5 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"))