You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throughout the codebase, we have a few methods that return the entire object from the REST request, and users have to get the result["response"] in order to get to the JSON properties of the response object.
Expected and actual results
We should return the response object (which contains the JSON properties) instead of the REST response object
Describe your environment
N/A
Additional context
Here is a good way to identify the methods that are not complying with this rule: (thanks @t1m0thyj)
Check for integration tests that extract the ["response"] property from the result of the REST call.
Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
Describe the bug
Throughout the codebase, we have a few methods that return the entire object from the REST request, and users have to get the
result["response"]
in order to get to the JSON properties of the response object.Expected and actual results
We should return the
response
object (which contains the JSON properties) instead of the REST response objectDescribe your environment
N/A
Additional context
Here is a good way to identify the methods that are not complying with this rule: (thanks @t1m0thyj)
["response"]
property from the result of the REST call.zowe-client-python-sdk/tests/integration/test_zos_files.py
Line 69 in 0afad40
The text was updated successfully, but these errors were encountered: