civis.response.Response objects turn keys into snake case from Civis API's camel-case key names. There are keys that shouldn't be converted for casing, specifically those under "arguments" for scripts, as the argument names are from environmental variables. This pull request fixes this issue. Also adding .json() to civis.response.Response if an actual dict of the response is desired.
Also refreshed the Civis API spec and the corresponding stub file.
[x] (For Civis employees only) Reference to a relevant ticket in the pull request title
[x] Changelog entry added to CHANGELOG.md at the repo's root level
[x] Description of change in the pull request description
[x] If applicable, unit tests have been added and/or updated
civis.response.Response
objects turn keys into snake case from Civis API's camel-case key names. There are keys that shouldn't be converted for casing, specifically those under"arguments"
for scripts, as the argument names are from environmental variables. This pull request fixes this issue. Also adding.json()
tocivis.response.Response
if an actual dict of the response is desired.Also refreshed the Civis API spec and the corresponding stub file.
CHANGELOG.md
at the repo's root level