File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments