Skip to content

Conversation

@OTFlorian
Copy link
Contributor

Returning response.json() throws a requests.exceptions.JSONDecodeError exception in several methods. Therefore, I removed the return statements from the ones that I tried (user_groups__post, user_groups__delete and user__put).

remove return response.json() from user_groups__post, user_groups__delete and user__put methods
@SBSDataLabs
Copy link

Is this PR getting merged? Or is there a better way to deal with the exceptions?

Copy link
Collaborator

@bryanthowell-ts bryanthowell-ts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this, my apologies on it taking so long to incorporate in

@bryanthowell-ts bryanthowell-ts merged commit b90e414 into thoughtspot:main Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants