chore: Update gapic-generator-python to 1.25.0 (#1123) · googleapis/python-bigtable@59ffc8b · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit 59ffc8b

Browse files
chore: Update gapic-generator-python to 1.25.0 (#1123)
* chore: Update gapic-generator-python to 1.25.0 PiperOrigin-RevId: 755914147 Source-Link: googleapis/googleapis@97a83d7 Source-Link: googleapis/googleapis-gen@a9977ef Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTk5NzdlZmVkYzgzNmNjZWNlMWYwMWQ1MjliMDMxNWUxZWZlNTJhZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Daniel Sanche <sanche@google.com>
1 parent 2642317 commit 59ffc8b

File tree

13 files changed

+45
-1
lines changed

13 files changed

+45
-1
lines changed

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from google.api_core import retry_async as retries
3838
from google.auth import credentials as ga_credentials # type: ignore
3939
from google.oauth2 import service_account # type: ignore
40+
import google.protobuf
4041

4142

4243
try:
@@ -3461,5 +3462,8 @@ async def __aexit__(self, exc_type, exc, tb):
34613462
gapic_version=package_version.__version__
34623463
)
34633464

3465+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
3466+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
3467+
34643468

34653469
__all__ = ("BigtableInstanceAdminAsyncClient",)

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
try:
5051
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -3940,5 +3941,7 @@ def __exit__(self, type, value, traceback):
39403941
gapic_version=package_version.__version__
39413942
)
39423943

3944+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
3945+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
39433946

39443947
__all__ = ("BigtableInstanceAdminClient",)

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from google.api_core import operations_v1
2727
from google.auth import credentials as ga_credentials # type: ignore
2828
from google.oauth2 import service_account # type: ignore
29+
import google.protobuf
2930

3031
from google.cloud.bigtable_admin_v2.types import bigtable_instance_admin
3132
from google.cloud.bigtable_admin_v2.types import instance
@@ -38,6 +39,9 @@
3839
gapic_version=package_version.__version__
3940
)
4041

42+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
43+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
44+
4145

4246
class BigtableInstanceAdminTransport(abc.ABC):
4347
"""Abstract transport class for BigtableInstanceAdmin."""

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829
from google.api_core import operations_v1
@@ -64,6 +65,9 @@
6465
rest_version=f"requests@{requests_version}",
6566
)
6667

68+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
69+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
70+
6771

6872
class BigtableInstanceAdminRestInterceptor:
6973
"""Interceptor for BigtableInstanceAdmin.

google/cloud/bigtable_admin_v2/services/bigtable_table_admin/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from google.api_core import retry_async as retries
3838
from google.auth import credentials as ga_credentials # type: ignore
3939
from google.oauth2 import service_account # type: ignore
40+
import google.protobuf
4041

4142

4243
try:
@@ -3468,5 +3469,8 @@ async def __aexit__(self, exc_type, exc, tb):
34683469
gapic_version=package_version.__version__
34693470
)
34703471

3472+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
3473+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
3474+
34713475

34723476
__all__ = ("BigtableTableAdminAsyncClient",)

google/cloud/bigtable_admin_v2/services/bigtable_table_admin/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
from google.auth.transport.grpc import SslCredentials # type: ignore
4646
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4747
from google.oauth2 import service_account # type: ignore
48+
import google.protobuf
4849

4950
try:
5051
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -3945,5 +3946,7 @@ def __exit__(self, type, value, traceback):
39453946
gapic_version=package_version.__version__
39463947
)
39473948

3949+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
3950+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
39483951

39493952
__all__ = ("BigtableTableAdminClient",)

google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from google.api_core import operations_v1
2727
from google.auth import credentials as ga_credentials # type: ignore
2828
from google.oauth2 import service_account # type: ignore
29+
import google.protobuf
2930

3031
from google.cloud.bigtable_admin_v2.types import bigtable_table_admin
3132
from google.cloud.bigtable_admin_v2.types import table
@@ -39,6 +40,9 @@
3940
gapic_version=package_version.__version__
4041
)
4142

43+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
44+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
45+
4246

4347
class BigtableTableAdminTransport(abc.ABC):
4448
"""Abstract transport class for BigtableTableAdmin."""

google/cloud/bigtable_admin_v2/services/bigtable_table_admin/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829
from google.api_core import operations_v1
@@ -65,6 +66,9 @@
6566
rest_version=f"requests@{requests_version}",
6667
)
6768

69+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
70+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
71+
6872

6973
class BigtableTableAdminRestInterceptor:
7074
"""Interceptor for BigtableTableAdmin.

google/cloud/bigtable_v2/services/bigtable/async_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
from google.api_core import retry_async as retries
4040
from google.auth import credentials as ga_credentials # type: ignore
4141
from google.oauth2 import service_account # type: ignore
42+
import google.protobuf
4243

4344

4445
try:
@@ -1737,5 +1738,8 @@ async def __aexit__(self, exc_type, exc, tb):
17371738
gapic_version=package_version.__version__
17381739
)
17391740

1741+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
1742+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
1743+
17401744

17411745
__all__ = ("BigtableAsyncClient",)

google/cloud/bigtable_v2/services/bigtable/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from google.auth.transport.grpc import SslCredentials # type: ignore
4747
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4848
from google.oauth2 import service_account # type: ignore
49+
import google.protobuf
4950

5051
try:
5152
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault, None]
@@ -2190,5 +2191,7 @@ def __exit__(self, type, value, traceback):
21902191
gapic_version=package_version.__version__
21912192
)
21922193

2194+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
2195+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
21932196

21942197
__all__ = ("BigtableClient",)

google/cloud/bigtable_v2/services/bigtable/transports/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@
2525
from google.api_core import retry as retries
2626
from google.auth import credentials as ga_credentials # type: ignore
2727
from google.oauth2 import service_account # type: ignore
28+
import google.protobuf
2829

2930
from google.cloud.bigtable_v2.types import bigtable
3031

3132
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
3233
gapic_version=package_version.__version__
3334
)
3435

36+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
37+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
38+
3539

3640
class BigtableTransport(abc.ABC):
3741
"""Abstract transport class for Bigtable."""

google/cloud/bigtable_v2/services/bigtable/transports/rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from google.api_core import rest_helpers
2424
from google.api_core import rest_streaming
2525
from google.api_core import gapic_v1
26+
import google.protobuf
2627

2728
from google.protobuf import json_format
2829

@@ -58,6 +59,9 @@
5859
rest_version=f"requests@{requests_version}",
5960
)
6061

62+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
63+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
64+
6165

6266
class BigtableRestInterceptor:
6367
"""Interceptor for Bigtable.

tests/unit/gapic/bigtable_v2/test_bigtable.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7511,7 +7511,6 @@ def test_execute_query_routing_parameters_request_1_grpc():
75117511
)
75127512

75137513
assert args[0] == request_msg
7514-
75157514
expected_headers = {
75167515
"name": "projects/sample1/instances/sample2",
75177516
"app_profile_id": "",

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.