We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug example:
//when some user is trying to get a specific worker, for example, worker with id 1
import myria import requests
session = requests.Session() conn = myria.MyriaConnection(None, 'rest.myria.cs.washington.edu', 1776, None) worker = conn.worker(1)
theres will be a JSON ValueError("No JSON object could be decoded")
//the selector(url) created by the wrap_get is // http://rest.myria.cs.washington.edu:1776/workers/worker-1 (line 146 in connection.py)
(same as r = session.get("http://rest.myria.cs.washington.edu:1776/workers/worker-1")) 146 r = self._session.get(selector) 147 if r.status_code in status: --> 148 return r.json()
the bug pops out in r.json()
Henry @dhalperi
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug example:
//when some user is trying to get a specific worker, for example, worker with id 1
import myria
import requests
session = requests.Session()
conn = myria.MyriaConnection(None, 'rest.myria.cs.washington.edu', 1776, None)
worker = conn.worker(1)
theres will be a JSON
ValueError("No JSON object could be decoded")
//the selector(url) created by the wrap_get is
// http://rest.myria.cs.washington.edu:1776/workers/worker-1
(line 146 in connection.py)
(same as r = session.get("http://rest.myria.cs.washington.edu:1776/workers/worker-1"))
146 r = self._session.get(selector)
147 if r.status_code in status:
--> 148 return r.json()
the bug pops out in r.json()
Henry
@dhalperi
The text was updated successfully, but these errors were encountered: