Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion databusclient/api/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ def _query_sparql_endpoint(endpoint_url, query, databus_key=None) -> dict:
Dictionary containing the query results.
"""
sparql = SPARQLWrapper(endpoint_url)
sparql.method = "POST"
sparql.setMethod("POST")
sparql.setQuery(query)
sparql.setReturnFormat(JSON)
if databus_key is not None:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databusclient"
version = "1.2.2"
version = "1.2.3"
description = "A simple client for submitting, downloading, and deleting data on the DBpedia Databus"
authors = ["DBpedia Association"]
license = "Apache-2.0 License"
Expand Down
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ class DummySPARQL:
def __init__(self, *args, **kwargs):
pass

def setMethod(self, method):
self._method = method

def setQuery(self, q):
self._q = q

Expand Down
Loading