aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/graph/ac/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/graph/ac/base.py')
-rw-r--r--bsfs/graph/ac/base.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bsfs/graph/ac/base.py b/bsfs/graph/ac/base.py
index eef444b..80742d7 100644
--- a/bsfs/graph/ac/base.py
+++ b/bsfs/graph/ac/base.py
@@ -25,19 +25,19 @@ class AccessControlBase(abc.ABC):
"""
"""
- #
- __backend: TripleStoreBase
+ # The triple store backend.
+ _backend: TripleStoreBase
- #
- __user: URI
+ # The current user.
+ _user: URI
def __init__(
self,
backend: TripleStoreBase,
user: URI,
):
- self.__backend = backend
- self.__user = URI(user)
+ self._backend = backend
+ self._user = URI(user)
@abc.abstractmethod
def is_protected_predicate(self, pred: schema.Predicate) -> bool: