diff --git a/common/pybindings.cc b/common/pybindings.cc index e1a7d313..3f288e78 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -114,10 +114,9 @@ PYBIND11_MODULE(MODULE_NAME, m) .export_values(); py::class_(m, "GraphicElement") - .def(py::init( - //FIXME - //(args("type"), "style", "x1", "y1", "x2", "y2", "z") - )) + .def(py::init(), + py::arg("type"), py::arg("style"), py::arg("x1"), py::arg("y1"), py::arg("x2"), py::arg("y2"), py::arg("z") + ) .def_readwrite("type", &GraphicElement::type) .def_readwrite("x1", &GraphicElement::x1) .def_readwrite("y1", &GraphicElement::y1)