Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion 4 quantumclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ def _cs_request(self, *args, **kwargs):
return resp, body

def do_request(self, url, method, **kwargs):

if not self.endpoint_url:
self.authenticate()

else:
self.auth_token=None
# Perform the request once. If we get a 401 back then it
# might be because the auth token expired, so try to
# re-authenticate and try again. If it still fails, bail.
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.