Spaces:
Runtime error
Runtime error
Update virtuosoQueryRest.py
Browse files- virtuosoQueryRest.py +0 -4
virtuosoQueryRest.py
CHANGED
|
@@ -3,14 +3,10 @@ from requests.auth import HTTPDigestAuth, HTTPBasicAuth
|
|
| 3 |
import ssl
|
| 4 |
import json
|
| 5 |
|
| 6 |
-
from joblib import Memory
|
| 7 |
|
| 8 |
-
cachedir = 'cached'
|
| 9 |
-
mem = Memory(cachedir, verbose=False)
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
-
@mem.cache
|
| 14 |
def execute_query(endpoint, query, auth):
|
| 15 |
headers = {
|
| 16 |
'Content-Type': 'application/x-www-form-urlencoded',
|
|
|
|
| 3 |
import ssl
|
| 4 |
import json
|
| 5 |
|
|
|
|
| 6 |
|
|
|
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
|
|
|
|
| 10 |
def execute_query(endpoint, query, auth):
|
| 11 |
headers = {
|
| 12 |
'Content-Type': 'application/x-www-form-urlencoded',
|