RDFLib / sparqlwrapper

A wrapper for a remote SPARQL endpoint
https://sparqlwrapper.readthedocs.io/
Other
520 stars 122 forks source link

Add enum for QueryTypes #143

Open ghost opened 4 years ago

ghost commented 4 years ago

I added a enum for the query types and also worked on the indent of the code.

nicholascar commented 4 years ago

@dayures it seems this is failing Python 2.7 check. Do you want 2.7 supported to pass it or are you OK with dropping Python 2 support?

In main rdflib, we're planning on support 2.7 for the up-coming 4.3.0 release (to be in about 2 weeks) but then dropping it for the 5.0.0 release (in a few month's time).

dayures commented 4 years ago

@nicholascar this PR not only fails in the python2.7 support. More changes in the code needs to be done. Maybe after some discussion and the finally sw development, we can see if we need to dismiss the python 2.7 support.

@MaFeg100 What is the expected value added of adding queryTypes as enum ?