-
Notifications
You must be signed in to change notification settings - Fork 2.5k
chore: add universe compatibility with older versions of api-core #2372
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
Conversation
24648f8
to
6d25555
Compare
56e3ea5
to
6791674
Compare
2e5baaf
to
7875e80
Compare
195610f
to
b73ecfd
Compare
e3c7566
to
7c91b9b
Compare
37658e9
to
4524943
Compare
3fcff41
to
2f5678c
Compare
else: | ||
if hasattr(google.api_core.client_options.ClientOptions, "universe_domain"): | ||
|
||
def test_client_options_universe_with_older_version_of_api_core(self): |
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.
Should we also add a test case for http credentials. eg. test_http_credentials_client_options_universe_with_older_version_of_api_core
?
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.
setting clientOptions.universe_domain
will raise an exception before we even check for credentials in build_from_document
. Therefore, testing different type of credentials while also passing in clientOptions.universe_domain
might not add much value here.
No description provided.