File tree Expand file tree Collapse file tree
.librarian/generator-input/client-post-processing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright 2023 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 : Remove unused imports
15+ url : https://github.com/googleapis/gapic-generator-python/issues/1833
16+ replacements :
17+ - paths : [
18+ packages/google-cloud-gke-hub/tests/unit/gapic/gkehub_v1/test_gke_hub.py
19+ ]
20+ before : |
21+ import google.cloud.gkehub.configmanagement.v1.configmanagement_pb2 as configmanagement_pb2 # type: ignore
22+ import google.cloud.gkehub.multiclusteringress.v1.multiclusteringress_pb2 as multiclusteringress_pb2 # type: ignore
23+ import google.cloud.gkehub.rbacrolebindingactuation.v1.rbacrolebindingactuation_pb2 as rbacrolebindingactuation_pb2 # type: ignore
24+ after : " "
25+ count : 1
26+ - paths : [
27+ packages/google-cloud-binary-authorization/tests/unit/gapic/binaryauthorization_v1/test_validation_helper_v1.py
28+ ]
29+ before : |
30+ import grafeas.v1.attestation_pb2 as attestation_pb2 # type: ignore
31+ import grafeas.v1.common_pb2 as common_pb2 # type: ignore
32+ after : " "
33+ count : 1
You can’t perform that action at this time.
0 commit comments