diff --git a/include/aidge/hook/Hook.hpp b/include/aidge/hook/Hook.hpp
index f874b269ef063a285b65d04e18d53262374e616d..5e00db5d68f11aadd4f3b6eb8174ba61b33e4a49 100644
--- a/include/aidge/hook/Hook.hpp
+++ b/include/aidge/hook/Hook.hpp
@@ -38,4 +38,4 @@ public:
 };
 }
 
-#endif /* Hook_H_ */
\ No newline at end of file
+#endif /* Hook_H_ */
diff --git a/python_binding/operator/pybind_Operator.cpp b/python_binding/operator/pybind_Operator.cpp
index ac9a34e0a14ace2cf264188302f52a27bf0f7222..d945b212ff6fb643302ca7512e91c7a778a39419 100644
--- a/python_binding/operator/pybind_Operator.cpp
+++ b/python_binding/operator/pybind_Operator.cpp
@@ -20,6 +20,7 @@ void init_Operator(py::module& m){
     py::class_<Operator, std::shared_ptr<Operator>>(m, "Operator")
     .def("output", &Operator::output, py::arg("outputIdx"))
     .def("input", &Operator::input, py::arg("inputIdx"))
+    .def("nb_data_inputs", &Operator::nbDataInputs)
     .def("associate_input", &Operator::associateInput, py::arg("inputIdx"), py::arg("data"))
     .def("set_datatype", &Operator::setDatatype, py::arg("datatype"))
     .def("set_backend", &Operator::setBackend, py::arg("name"))