-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support groups query customization #352
Conversation
The _ms_request conslidates the error handling logic into a single method. This should make overriding methods easier for end users.
|
||
logger.debug("Getting access token at: %s", provider_config.token_endpoint) | ||
response = provider_config.session.post(provider_config.token_endpoint, data, timeout=settings.TIMEOUT) | ||
def _ms_request(self, action, url, data=None, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried running this code, there no handling for params and headers in request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you share your code in a gist or a link to your repo with the change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you share your code in a gist or a link to your repo with the change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't appear to be using this change.
Replaces #274
Fixes #272