Skip to content

Commit

Permalink
don't monkey patch standard modules
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Jun 29, 2023
1 parent 33b05c9 commit 7592024
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions quit/tools/processor.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
from quit.tools.update import evalUpdate
from rdflib.plugins.sparql.algebra import translateQuery, translateUpdate
from rdflib.plugins.sparql.evaluate import evalQuery

import rdflib.plugins.sparql.processor

rdflib.plugins.sparql.processor.evalQuery = evalQuery
rdflib.plugins.sparql.processor.evalUpdate = evalUpdate
rdflib.plugins.sparql.processor.translateQuery = translateQuery
rdflib.plugins.sparql.processor.translateUpdate = translateUpdate

SPARQLUpdateProcessor = rdflib.plugins.sparql.processor.SPARQLUpdateProcessor
SPARQLProcessor = rdflib.plugins.sparql.processor.SPARQLProcessor

0 comments on commit 7592024

Please sign in to comment.