Skip to content

Commit 433dc16

Browse files
committed
swallow commit_pending_transaction kwarg for SPARQLStore
1 parent 87e61a7 commit 433dc16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rdflib/plugins/stores/sparqlstore.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ def _is_contextual(self, graph):
352352
else:
353353
return graph.identifier != DATASET_DEFAULT_GRAPH_ID
354354

355+
def close(self, commit_pending_transaction=None):
356+
SPARQLWrapper.close(self)
357+
355358

356359
class SPARQLUpdateStore(SPARQLStore):
357360
"""A store using SPARQL queries for reading and SPARQL Update for changes.

0 commit comments

Comments
 (0)