diff options
| author | Edmond Chuc <e.chuc@uq.edu.au> | 2021-07-09 10:10:35 +1000 |
|---|---|---|
| committer | Edmond Chuc <e.chuc@uq.edu.au> | 2021-07-09 10:10:35 +1000 |
| commit | 10bc9a3b5128ef9f372d7414ad28f60950f29632 (patch) | |
| tree | 7c41db1bb597afae2b99b5517ecb07785ffe0332 | |
| parent | d989182e0e5722bc2bd835acb8bdba509aed9b45 (diff) | |
| download | rdflib-iwana-issue919-tests.tar.gz | |
Fix typoiwana-issue919-tests
| -rw-r--r-- | rdflib/plugins/stores/sparqlstore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdflib/plugins/stores/sparqlstore.py b/rdflib/plugins/stores/sparqlstore.py index c7d5b6b8..ba092c50 100644 --- a/rdflib/plugins/stores/sparqlstore.py +++ b/rdflib/plugins/stores/sparqlstore.py @@ -25,7 +25,7 @@ ORDERBY = "ORDER BY" BNODE_IDENT_PATTERN = re.compile(r"(?P<label>_\:[^\s]+)") -NoteToSparql = Callable[..., str] +NodeToSparql = Callable[..., str] def _node_to_sparql(node) -> str: @@ -99,7 +99,7 @@ class SPARQLStore(SPARQLConnector, Store): # type: ignore[misc] query_endpoint: str = None, sparql11: bool = True, context_aware: bool = True, - node_to_sparql: NoteToSparql = _node_to_sparql, + node_to_sparql: NodeToSparql = _node_to_sparql, returnFormat: str = "xml", auth: Optional[Tuple[str, str]] = None, **sparqlconnector_kwargs |
