This repository was archived by the owner on Mar 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,14 +91,12 @@ def client_cert_source_callback():
9191 return b"cert bytes" , b"key bytes"
9292
9393
94- # TODO: use async auth anon credentials by default once the minimum version of google-auth
95- # is upgraded to >= 2.35.0 -> Add support for asynchronous AuthorizedSession api (#1577) (2910b6b)
94+ # TODO: use async auth anon credentials by default once the minimum version of google-auth is upgraded.
9695# See related issue: https://github.com/googleapis/gapic-generator-python/issues/2107.
9796def async_anonymous_credentials ():
9897 if HAS_GOOGLE_AUTH_AIO :
9998 return ga_credentials_async .AnonymousCredentials ()
100- else : # pragma: NO COVER
101- return ga_credentials .AnonymousCredentials ()
99+ return ga_credentials .AnonymousCredentials ()
102100
103101
104102# If default endpoint is localhost, then default mtls endpoint will be the same.
Original file line number Diff line number Diff line change @@ -88,14 +88,12 @@ def client_cert_source_callback():
8888 return b"cert bytes" , b"key bytes"
8989
9090
91- # TODO: use async auth anon credentials by default once the minimum version of google-auth
92- # is upgraded to >= 2.35.0 -> Add support for asynchronous AuthorizedSession api (#1577) (2910b6b)
91+ # TODO: use async auth anon credentials by default once the minimum version of google-auth is upgraded.
9392# See related issue: https://github.com/googleapis/gapic-generator-python/issues/2107.
9493def async_anonymous_credentials ():
9594 if HAS_GOOGLE_AUTH_AIO :
9695 return ga_credentials_async .AnonymousCredentials ()
97- else : # pragma: NO COVER
98- return ga_credentials .AnonymousCredentials ()
96+ return ga_credentials .AnonymousCredentials ()
9997
10098
10199# If default endpoint is localhost, then default mtls endpoint will be the same.
You can’t perform that action at this time.
0 commit comments