Closed Nekotoxin closed 2 years ago
@Nekotoxin Can you also check please this error:
File "/Users/f.eremeev/saas/saas_core_v2/source/.venv/lib/python3.10/site-packages/casbin/core_enforcer.py", line 65, in __init__
self.init_with_model_and_adapter(model, adapter)
File "/Users/f.eremeev/saas/saas_core_v2/source/.venv/lib/python3.10/site-packages/casbin/core_enforcer.py", line 85, in init_with_model_and_adapter
raise RuntimeError("Invalid parameters for enforcer.")
RuntimeError: Invalid parameters for enforcer.
It appears when enable_logging
is dropped
Or is it just my misconfig and model shouldn't be a path?
@Nekotoxin Okay, this was an issue with my model path type, I had PosixPath
, manually converted it to string and everything worked
Thank you for the fix @Nekotoxin ! I'm really looking forward to this merge :)
:tada: This PR is included in version 1.0.1 :tada:
The release is available on:
v1.0.1
Your semantic-release bot :package::rocket:
Fix: https://github.com/pycasbin/django-orm-adapter/issues/14