aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/triple_store/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/triple_store/base.py')
-rw-r--r--bsfs/triple_store/base.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsfs/triple_store/base.py b/bsfs/triple_store/base.py
index 5ff9523..7e03714 100644
--- a/bsfs/triple_store/base.py
+++ b/bsfs/triple_store/base.py
@@ -113,9 +113,11 @@ class TripleStoreBase(abc.ABC):
def get(
self,
node_type: _schema.Node,
- query: ast.filter.FilterExpression,
+ query: typing.Optional[ast.filter.FilterExpression] = None,
) -> typing.Iterator[URI]:
- """Return guids of nodes of type *node_type* that match the *query*."""
+ """Return guids of nodes of type *node_type* that match the *query*.
+ Return all guids of the respective type if *query* is None.
+ """
@abc.abstractmethod
def exists(