Skip to content

Commit

Permalink
SPARQLStore deprecated unused bNodeAsURI arg
Browse files Browse the repository at this point in the history
  • Loading branch information
joernhees committed Aug 25, 2015
1 parent 48d3b42 commit bf749d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rdflib/plugins/stores/sparqlstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ def __init__(self,
endpoint, returnFormat=XML, **sparqlwrapper_kwargs)
self.setUseKeepAlive()
self.bNodeAsURI = bNodeAsURI
if bNodeAsURI:
warnings.warn(
"bNodeAsURI argument was never supported and will be dropped "
"in favor of node_to_sparql and node_from_result args.",
category=DeprecationWarning,
)
self.node_to_sparql = node_to_sparql
self.node_from_result = node_from_result
self.nsBindings = {}
Expand Down

0 comments on commit bf749d7

Please sign in to comment.