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

Commit 65f763e

Browse files
1 parent 57ac1e0 commit 65f763e

152 files changed

Lines changed: 26 additions & 76948 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.flake8

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2024 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
17+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333):
18+
# Resolve flake8 lint issues
1919
ignore = E203, E231, E266, E501, W503
2020
exclude =
21-
# Exclude generated code.
22-
**/proto/**
21+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333):
22+
# Ensure that generated code passes flake8 lint
2323
**/gapic/**
2424
**/services/**
2525
**/types/**
26+
# Exclude Protobuf gencode
2627
*_pb2.py
2728

2829
# Standard linting exemptions.

MANIFEST.in

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2024 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
include README.rst LICENSE
19-
recursive-include google *.json *.proto py.typed
17+
recursive-include google *.py *.pyi *.json *.proto py.typed
2018
recursive-include tests *
2119
global-exclude *.py[co]
2220
global-exclude __pycache__
23-
24-
# Exclude scripts for samples readmegen
25-
prune scripts/readme-gen

google/pubsub_v1/services/publisher/transports/grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,11 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7373
f"Sending request for {client_call_details.method}",
7474
extra={
7575
"serviceName": "google.pubsub.v1.Publisher",
76-
"rpcName": client_call_details.method,
76+
"rpcName": str(client_call_details.method),
7777
"request": grpc_request,
7878
"metadata": grpc_request["metadata"],
7979
},
8080
)
81-
8281
response = continuation(client_call_details, request)
8382
if logging_enabled: # pragma: NO COVER
8483
response_metadata = response.trailing_metadata()

google/pubsub_v1/services/schema_service/transports/grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,11 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7474
f"Sending request for {client_call_details.method}",
7575
extra={
7676
"serviceName": "google.pubsub.v1.SchemaService",
77-
"rpcName": client_call_details.method,
77+
"rpcName": str(client_call_details.method),
7878
"request": grpc_request,
7979
"metadata": grpc_request["metadata"],
8080
},
8181
)
82-
8382
response = continuation(client_call_details, request)
8483
if logging_enabled: # pragma: NO COVER
8584
response_metadata = response.trailing_metadata()

google/pubsub_v1/services/subscriber/transports/grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,11 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7373
f"Sending request for {client_call_details.method}",
7474
extra={
7575
"serviceName": "google.pubsub.v1.Subscriber",
76-
"rpcName": client_call_details.method,
76+
"rpcName": str(client_call_details.method),
7777
"request": grpc_request,
7878
"metadata": grpc_request["metadata"],
7979
},
8080
)
81-
8281
response = continuation(client_call_details, request)
8382
if logging_enabled: # pragma: NO COVER
8483
response_metadata = response.trailing_metadata()

owl-bot-staging/v1/.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

owl-bot-staging/v1/.flake8

Lines changed: 0 additions & 34 deletions
This file was deleted.

owl-bot-staging/v1/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

owl-bot-staging/v1/MANIFEST.in

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)