Skip to content

Commit 6cc4926

Browse files
committed
fix: error on mac
Signed-off-by: Yash Pandey (YP) <[email protected]>
1 parent 4b519ed commit 6cc4926

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bindings/python/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ PYBIND11_MODULE(pycasbin, m) {
3636

3737
bindPyEnforcer(m);
3838
bindPyCachedEnforcer(m);
39+
bindABACData(m);
3940

4041
m.attr("__version__") = PY_CASBIN_VERSION;
4142
}

bindings/python/py_abac_data.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ void bindABACData(py::module& m) {
6464
to the given key
6565
@return true
6666
@return false
67-
)doc")
68-
.def("GetAttributes", &casbin::ABACData::GetAttributes, R"doc(
69-
@brief Get the Attributes of the corresponding ABAC entity
70-
@return const reference to the hashmap containing attributes in key-value pairs
7167
)doc");
68+
// .def("GetAttributes", &casbin::ABACData::GetAttributes, R"doc(
69+
// @brief Get the Attributes of the corresponding ABAC entity
70+
// @return const reference to the hashmap containing attributes in key-value pairs
71+
// )doc");
7272

7373
m.def("GetDataObject", &casbin::GetDataObject, R"doc(
7474
@brief Get casbin::ABACData object

0 commit comments

Comments
 (0)