Skip to content

Commit

Permalink
chore: Update gapic-generator-python to v1.18.5 (#1015)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.18.5

PiperOrigin-RevId: 661268868

Source-Link: googleapis/googleapis@f7d214c

Source-Link: googleapis/googleapis-gen@79a8411
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzlhODQxMWJiZGIyNWE5ODNmYTNhYWU4YzBlMTQzMjdkZjEyOWY5NCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Aug 9, 2024
1 parent 7af1dc1 commit 4cf88dc
Show file tree
Hide file tree
Showing 9 changed files with 401 additions and 321 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# limitations under the License.
#
from collections import OrderedDict
import functools
import re
from typing import (
Dict,
Expand Down Expand Up @@ -218,10 +217,7 @@ def universe_domain(self) -> str:
"""
return self._client._universe_domain

get_transport_class = functools.partial(
type(BigtableInstanceAdminClient).get_transport_class,
type(BigtableInstanceAdminClient),
)
get_transport_class = BigtableInstanceAdminClient.get_transport_class

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def __init__(
Type[BigtableInstanceAdminTransport],
Callable[..., BigtableInstanceAdminTransport],
] = (
type(self).get_transport_class(transport)
BigtableInstanceAdminClient.get_transport_class(transport)
if isinstance(transport, str) or transport is None
else cast(Callable[..., BigtableInstanceAdminTransport], transport)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# limitations under the License.
#
from collections import OrderedDict
import functools
import re
from typing import (
Dict,
Expand Down Expand Up @@ -218,10 +217,7 @@ def universe_domain(self) -> str:
"""
return self._client._universe_domain

get_transport_class = functools.partial(
type(BigtableTableAdminClient).get_transport_class,
type(BigtableTableAdminClient),
)
get_transport_class = BigtableTableAdminClient.get_transport_class

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def __init__(
Type[BigtableTableAdminTransport],
Callable[..., BigtableTableAdminTransport],
] = (
type(self).get_transport_class(transport)
BigtableTableAdminClient.get_transport_class(transport)
if isinstance(transport, str) or transport is None
else cast(Callable[..., BigtableTableAdminTransport], transport)
)
Expand Down
5 changes: 1 addition & 4 deletions google/cloud/bigtable_v2/services/bigtable/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# limitations under the License.
#
from collections import OrderedDict
import functools
import re
from typing import (
Dict,
Expand Down Expand Up @@ -188,9 +187,7 @@ def universe_domain(self) -> str:
"""
return self._client._universe_domain

get_transport_class = functools.partial(
type(BigtableClient).get_transport_class, type(BigtableClient)
)
get_transport_class = BigtableClient.get_transport_class

def __init__(
self,
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/bigtable_v2/services/bigtable/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def __init__(
transport_init: Union[
Type[BigtableTransport], Callable[..., BigtableTransport]
] = (
type(self).get_transport_class(transport)
BigtableClient.get_transport_class(transport)
if isinstance(transport, str) or transport is None
else cast(Callable[..., BigtableTransport], transport)
)
Expand Down
Loading

0 comments on commit 4cf88dc

Please sign in to comment.