This repository was archived by the owner on Oct 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
auto_save is not a parameter of an Enforcer #145
Copy link
Copy link
Labels
C - BackendAffects the backend containerAffects the backend containerF - TestingThis issue was found in testingThis issue was found in testingL - PythonAffects code written in PythonAffects code written in Python
Milestone
Description
A TypeError is thrown:
@SuitablyMysterious ➜ /workspaces/Library-System (testing-patch) $ docker logs backend --tail 100
Initiating policySetup.py
Traceback (most recent call last):
File "/src/auth/policySetup.py", line 41, in <module>
enforcer = Enforcer(str(MODEL_PATH), adapter, auto_save=False)
TypeError: CoreEnforcer.__init__() got an unexpected keyword argument 'auto_save'
Initiating policySetup.py
Traceback (most recent call last):
File "/src/auth/policySetup.py", line 41, in <module>
enforcer = Enforcer(str(MODEL_PATH), adapter, auto_save=False)
TypeError: CoreEnforcer.__init__() got an unexpected keyword argument 'auto_save'
Initiating policySetup.py
Traceback (most recent call last):
File "/src/auth/policySetup.py", line 41, in <module>
enforcer = Enforcer(str(MODEL_PATH), adapter, auto_save=False)
TypeError: CoreEnforcer.__init__() got an unexpected keyword argument 'auto_save'
Initiating policySetup.py
Traceback (most recent call last):
File "/src/auth/policySetup.py", line 41, in <module>
enforcer = Enforcer(str(MODEL_PATH), adapter, auto_save=False)
TypeError: CoreEnforcer.__init__() got an unexpected keyword argument 'auto_save'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C - BackendAffects the backend containerAffects the backend containerF - TestingThis issue was found in testingThis issue was found in testingL - PythonAffects code written in PythonAffects code written in Python
Type
Projects
Status
Waiting for Merge