ApiClient.set_access_token(token_obj) does not add "Bearer" before the access token.
def set_access_token(self, token_obj):
"""
:param token_obj:
:return:
"""
self.default_headers['Authorization'] = token_obj.access_token
In addition, I think this would be much more useful to pass the token itself and modify the header. Instead it seems to be looking for a response object which then accesses the access_token parameter.