diff --git a/python_binding/data/pybind_Database.cpp b/python_binding/data/pybind_Database.cpp new file mode 100644 index 0000000000000000000000000000000000000000..903e692ca3d14d6ae25f0d6f151b1b08d557d924 --- /dev/null +++ b/python_binding/data/pybind_Database.cpp @@ -0,0 +1,13 @@ +#include <pybind11/pybind11.h> +#include "aidge/data/Database.hpp" + +namespace py = pybind11; +namespace Aidge { + +void init_Database(py::module& m){ + + py::class_<Database, std::shared_ptr<Database>>(m,"Database"); + + +} +} diff --git a/python_binding/pybind_core.cpp b/python_binding/pybind_core.cpp index b861f881c684a2fbe800ab672299871cfc89d7ac..42b10f7b07dab09348d06bc02c9c726aaa9c1842 100644 --- a/python_binding/pybind_core.cpp +++ b/python_binding/pybind_core.cpp @@ -15,6 +15,7 @@ namespace py = pybind11; namespace Aidge { void init_Data(py::module&); +void init_Database(py::module& m); void init_Tensor(py::module&); void init_OperatorImpl(py::module&); void init_Parameterizable(py::module&); @@ -56,6 +57,7 @@ void set_python_flag(){ void init_Aidge(py::module& m){ set_python_flag(); init_Data(m); + init_Database(m); init_Tensor(m); init_Node(m);