aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/graph/ac/base.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2022-12-18 14:06:58 +0100
committerMatthias Baumgartner <dev@igsor.net>2022-12-18 14:06:58 +0100
commitedd5390b6db1550f6a80a46f0eaf5f3916997532 (patch)
tree090caad31d0bbcc63fa1473a7b44baa02b785982 /bsfs/graph/ac/base.py
parentebc3ccb5fdce950649bfcbf18f88ecb4a9dbcad0 (diff)
downloadbsfs-edd5390b6db1550f6a80a46f0eaf5f3916997532.tar.gz
bsfs-edd5390b6db1550f6a80a46f0eaf5f3916997532.tar.bz2
bsfs-edd5390b6db1550f6a80a46f0eaf5f3916997532.zip
information hiding
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: