Skip to content

Commit

Permalink
fix another typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed Jul 3, 2024
1 parent 8f47cd7 commit b0e50eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ianalyzer_readers/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def _apply(self, graph: Graph = None, subject: BNode = None, *nargs, **kwargs) -
return [self.get_node_value(node) for node in nodes]
return self.get_node_value(nodes[0])

def _select(self, graph, subject, predicates: Iterable[URIRef]) -> List[Union[Literal | URIRef | BNode]]:
def _select(self, graph, subject, predicates: Iterable[URIRef]) -> List[Union[Literal, URIRef, BNode]]:
''' search in a graph with predicates
if more than one predicate is passed, this is a recursive query:
the first search result of the query is used as a subject in the next query
Expand Down

0 comments on commit b0e50eb

Please sign in to comment.