-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
issue: Jobs.list_jobs() return value is not JSON #27
Comments
@t1m0thyj , I am interested in addressing this issue. Could you please assign it to me? |
@zFernand0 should i update changelog as well ? |
@Myrausman Thanks for contributing and sorry for not replying sooner. I've looked into this and the method is returning a JSON object, so we shouldn't need to import the Could you please close #251 and open a new PR that updates the docstrings? For all the places in jobs.py that say
If your PR only updates docstrings, then no changelog update is required since there are no user-facing changes. |
Hi,
Checked Jobs.list_jobs() method, but I believe this issue spreading more than I will mention here.
list_jobs() dosctring states:
But in fact the return value is a list, and processing it with json.loads() will lead to exception:
Either docstring change needed, or behavior change and encapsulation of response with something like:
The text was updated successfully, but these errors were encountered: