vemonet / rdflib-endpoint

💫 Deploy SPARQL endpoints from RDFLib Graphs to serve RDF files, machine learning models, or any other logic implemented in Python
https://pypi.org/project/rdflib-endpoint
MIT License
75 stars 18 forks source link

Usability, consistency, and readability improvements #9

Closed cthoyt closed 1 year ago

cthoyt commented 1 year ago

This PR does the following:

  1. Doesn't assign stateful things as defaults. This probably isn't an issue in practice but if you instantiate two of this object, they will share it
  2. Move some big long constants out of the main code body (they make it hard to read and understand what this is doing)
  3. Small typo fixes