Skip to content

Commit 1890637

Browse files
authored
chore: re-generate all (#17505)
Re-generate all in attempt to restore repo to "clean" state where config in librarian.yaml and generated code matches. Run below commands. ``` V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version) go run github.com/googleapis/librarian/tool/cmd/builddockerimages@latest --language python --version=${V} docker run -u $(id -u):$(id -g) -v .:/repo -v ~/.cache:/.cache -w /repo docker.io/library/librarian-python:${V} generate -v --all ``` Fixes #17426, #17427
1 parent 3b79caa commit 1890637

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

packages/google-cloud-pubsub/README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ Python >= 3.10, including 3.14
6767
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
6868
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
6969

70+
Unsupported Python Versions
71+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
72+
Python <= 3.9
73+
7074

7175
If you are using an `end-of-life`_
7276
version of Python, we recommend that you update as soon as possible to an actively supported version.

packages/google-cloud-pubsub/google/cloud/pubsub_v1/subscriber/_protocol/leaser.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,14 @@
2020
import threading
2121
import time
2222
import typing
23+
from collections.abc import KeysView
2324
from typing import Dict, Iterable, Optional, Union
2425

2526
from google.cloud.pubsub_v1.open_telemetry.subscribe_opentelemetry import (
2627
SubscribeOpenTelemetry,
2728
)
28-
from google.cloud.pubsub_v1.subscriber._protocol.dispatcher import _MAX_BATCH_LATENCY
29-
30-
from collections.abc import KeysView
31-
3229
from google.cloud.pubsub_v1.subscriber._protocol import requests
30+
from google.cloud.pubsub_v1.subscriber._protocol.dispatcher import _MAX_BATCH_LATENCY
3331

3432
if typing.TYPE_CHECKING: # pragma: NO COVER
3533
from google.cloud.pubsub_v1.subscriber._protocol.streaming_pull_manager import (

0 commit comments

Comments
 (0)