Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit f510cd3

Browse files
committed
revert changes to generated files
1 parent c2e3592 commit f510cd3

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

tests/unit/gapic/datastore_admin_v1/test_datastore_admin.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
9796
def 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.

tests/unit/gapic/datastore_v1/test_datastore.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
9493
def 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.

0 commit comments

Comments
 (0)