We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ebba0a commit de809c6Copy full SHA for de809c6
bindings/python/py_model.cpp
@@ -21,7 +21,7 @@
21
#include "py_casbin.h"
22
23
void bindPyModel(py::module &m) {
24
- py::class_<casbin::Model>(m, "Model")
+ py::class_<casbin::Model, std::shared_ptr<casbin::Model>>(m, "Model")
25
.def(py::init<>())
26
.def(py::init<const std::string &>())
27
0 commit comments