-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: updated the lower bound of interactive timeout and fix the kwarg… #1182
Conversation
BigTailWolf
commented
Nov 9, 2022
- Udpated the lower bound of interactive timeout
- Fix the kwargs invalid syntax
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.
This change needs accompanied unit tests
google/auth/pluggable.py
Outdated
@@ -132,7 +132,7 @@ def __init__( | |||
self._credential_source_executable_output_file = self._credential_source_executable.get( | |||
"output_file" | |||
) | |||
self._tokeninfo_username = kwargs.get("tokeninfo_username", "") # dummy value | |||
self._tokeninfo_username = "" # dummy value. This variable is only used via injection, not exposed to ctor |
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.
Nit: I think None
is a more appropriate placeholder
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.
Then we are going to re-write a bunch of tests since we didn't properly mock the behavior.
This will be updated by a full feature of retrieve token info from the proper endpoint.