Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b4b3508

Browse filesBrowse files
authored
chore: librarian update image pull request: 20260113T171106Z (#663)
feat: update image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:51d42b9060365aa10d21e64a370b82bf1e07ed7f1e46062dcb3ad10632b0acc8 This PR was created by running `librarian update-image -push`
1 parent 9df9173 commit b4b3508
Copy full SHA for b4b3508

3 files changed

+15-9Lines changed: 15 additions & 9 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/google-cloud-datastore
    • .librarian
    • google/cloud
      • datastore_admin_v1/services/datastore_admin/transports
      • datastore_v1/services/datastore/transports
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/google-cloud-datastore/.librarian/state.yaml‎

Copy file name to clipboardExpand all lines: packages/google-cloud-datastore/.librarian/state.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
1+
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:51d42b9060365aa10d21e64a370b82bf1e07ed7f1e46062dcb3ad10632b0acc8
22
libraries:
33
- id: google-cloud-datastore
44
version: 2.23.0
Collapse file

‎packages/google-cloud-datastore/google/cloud/datastore_admin_v1/services/datastore_admin/transports/base.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-datastore/google/cloud/datastore_admin_v1/services/datastore_admin/transports/base.py
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ def __init__(
8989
be used for service account credentials.
9090
"""
9191

92-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
93-
9492
# Save the scopes.
9593
self._scopes = scopes
9694
if not hasattr(self, "_ignore_credentials"):
@@ -105,11 +103,16 @@ def __init__(
105103

106104
if credentials_file is not None:
107105
credentials, _ = google.auth.load_credentials_from_file(
108-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
106+
credentials_file,
107+
scopes=scopes,
108+
quota_project_id=quota_project_id,
109+
default_scopes=self.AUTH_SCOPES,
109110
)
110111
elif credentials is None and not self._ignore_credentials:
111112
credentials, _ = google.auth.default(
112-
**scopes_kwargs, quota_project_id=quota_project_id
113+
scopes=scopes,
114+
quota_project_id=quota_project_id,
115+
default_scopes=self.AUTH_SCOPES,
113116
)
114117
# Don't apply audience if the credentials file passed from user.
115118
if hasattr(credentials, "with_gdch_audience"):
Collapse file

‎packages/google-cloud-datastore/google/cloud/datastore_v1/services/datastore/transports/base.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-datastore/google/cloud/datastore_v1/services/datastore/transports/base.py
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ def __init__(
8787
be used for service account credentials.
8888
"""
8989

90-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
91-
9290
# Save the scopes.
9391
self._scopes = scopes
9492
if not hasattr(self, "_ignore_credentials"):
@@ -103,11 +101,16 @@ def __init__(
103101

104102
if credentials_file is not None:
105103
credentials, _ = google.auth.load_credentials_from_file(
106-
credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
104+
credentials_file,
105+
scopes=scopes,
106+
quota_project_id=quota_project_id,
107+
default_scopes=self.AUTH_SCOPES,
107108
)
108109
elif credentials is None and not self._ignore_credentials:
109110
credentials, _ = google.auth.default(
110-
**scopes_kwargs, quota_project_id=quota_project_id
111+
scopes=scopes,
112+
quota_project_id=quota_project_id,
113+
default_scopes=self.AUTH_SCOPES,
111114
)
112115
# Don't apply audience if the credentials file passed from user.
113116
if hasattr(credentials, "with_gdch_audience"):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.