python_api
python_api copied to clipboard
JSON serialization of Permission, Privilege broken
At least Privilege and Permission are not JSON Serializable and throw errors when used; They cannot be used to .set_privileges or permissions need to be set via role.set_property_list('permissions', perms) even, but then it also doesn't work.
My workaround is using a dict at the moment.
Python 3.6.