aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/triple_store/sparql.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/triple_store/sparql.py')
-rw-r--r--bsfs/triple_store/sparql.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bsfs/triple_store/sparql.py b/bsfs/triple_store/sparql.py
index 23059f7..7516dff 100644
--- a/bsfs/triple_store/sparql.py
+++ b/bsfs/triple_store/sparql.py
@@ -174,10 +174,8 @@ class SparqlStore(base.TripleStoreBase):
self,
node_type: bsc.Node,
guids: typing.Iterable[URI],
- ):
- """
- """
- return {subj for subj in guids if self._has_type(subj, node_type)}
+ ) -> typing.Iterable[URI]:
+ return (subj for subj in guids if self._has_type(subj, node_type))
def create(
self,