Skip to content

Commit

Permalink
fix: eliminate file intermediary in translate algebra (#2267)
Browse files Browse the repository at this point in the history
Previously, `rdflib.plugins.sparql.algebra.translateAlgebra()` maintained state via a file, with a fixed filename `query.txt`.  With this change, use of that file is eliminated; state is now maintained in memory so that multiple concurrent `translateAlgebra()` calls, for example, should no longer interfere with each other.

The change is accomplished with no change to the client interface.  Basically, the actual functionality has been moved into a class, which is instantiated and used as needed (once per call to `algrebra.translateAlgebra()`).
  • Loading branch information
jclerman committed Mar 27, 2023
1 parent 0d07f9b commit ae6b859
Showing 1 changed file with 265 additions and 189 deletions.

0 comments on commit ae6b859

Please sign in to comment.