Skip to content

Commit 692b91a

Browse files
committed
Apply fix from #17914
1 parent 2133d5b commit 692b91a

5 files changed

Lines changed: 31 additions & 4 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
description: Temporary post processing until https://github.com/googleapis/google-cloud-python/pull/17914 is released
15+
url: https://github.com/googleapis/google-cloud-python/pull/17914
16+
replacements:
17+
- paths: [
18+
"packages/google-cloud-ces/google/cloud/ces_v1/services/session_service/async_client.py",
19+
"packages/google-cloud-ces/google/cloud/ces_v1/services/session_service/client.py",
20+
"packages/google-cloud-ces/google/cloud/ces_v1beta/services/session_service/async_client.py",
21+
"packages/google-cloud-ces/google/cloud/ces_v1beta/services/session_service/client.py",
22+
]
23+
before: |
24+
header_params = \{\}
25+
after: |
26+
header_params: dict[str, str] = {}
27+
count: 4

packages/google-cloud-ces/google/cloud/ces_v1/services/session_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def request_generator():
646646
self._client._transport.bidi_run_session
647647
]
648648

649-
header_params = {}
649+
header_params: dict[str, str] = {}
650650

651651
if header_params:
652652
metadata = tuple(metadata) + (

packages/google-cloud-ces/google/cloud/ces_v1/services/session_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ def request_generator():
11411141
# and friendly error handling.
11421142
rpc = self._transport._wrapped_methods[self._transport.bidi_run_session]
11431143

1144-
header_params = {}
1144+
header_params: dict[str, str] = {}
11451145

11461146
if header_params:
11471147
metadata = tuple(metadata) + (

packages/google-cloud-ces/google/cloud/ces_v1beta/services/session_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def request_generator():
646646
self._client._transport.bidi_run_session
647647
]
648648

649-
header_params = {}
649+
header_params: dict[str, str] = {}
650650

651651
if header_params:
652652
metadata = tuple(metadata) + (

packages/google-cloud-ces/google/cloud/ces_v1beta/services/session_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ def request_generator():
11411141
# and friendly error handling.
11421142
rpc = self._transport._wrapped_methods[self._transport.bidi_run_session]
11431143

1144-
header_params = {}
1144+
header_params: dict[str, str] = {}
11451145

11461146
if header_params:
11471147
metadata = tuple(metadata) + (

0 commit comments

Comments
 (0)