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

Commit 8fd1fbe

Browse files
committed
update goldens
1 parent 7d92db1 commit 8fd1fbe

87 files changed

Lines changed: 626 additions & 626 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.

tests/integration/goldens/asset/google/cloud/asset_v1/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020

2121
__version__ = package_version.__version__
2222

23-
if sys.version_info >= (3, 8): # pragma: NO COVER # fmt: skip
23+
if sys.version_info >= (3, 8): # pragma: NO COVER
2424
from importlib import metadata
25-
else: # pragma: NO COVER # fmt: skip
25+
else: # pragma: NO COVER
2626
# TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
2727
# this code path once we drop support for Python 3.7
2828
import importlib_metadata as metadata
@@ -109,10 +109,10 @@
109109
from .types.assets import TimeWindow
110110
from .types.assets import VersionedResource
111111

112-
if hasattr(api_core, "check_python_version") and hasattr(api_core, "check_dependency_versions"): # pragma: NO COVER # fmt: skip
112+
if hasattr(api_core, "check_python_version") and hasattr(api_core, "check_dependency_versions"): # pragma: NO COVER
113113
api_core.check_python_version("google.cloud.asset_v1") # type: ignore
114114
api_core.check_dependency_versions("google.cloud.asset_v1") # type: ignore
115-
else: # pragma: NO COVER # fmt: skip
115+
else: # pragma: NO COVER
116116
# An older version of api_core is installed which does not define the
117117
# functions above. We do equivalent checks manually.
118118
try:

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/async_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[ClientOption
158158
Raises:
159159
google.auth.exceptions.MutualTLSChannelError: If any errors happen.
160160
"""
161-
return AssetServiceClient.get_mtls_endpoint_and_cert_source(client_options) # type: ignore # fmt: skip
161+
return AssetServiceClient.get_mtls_endpoint_and_cert_source(client_options) # type: ignore
162162

163163
@property
164164
def transport(self) -> AssetServiceTransport:
@@ -256,7 +256,7 @@ def __init__(self, *,
256256

257257
)
258258

259-
if CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(std_logging.DEBUG): # pragma: NO COVER # fmt: skip
259+
if CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(std_logging.DEBUG): # pragma: NO COVER
260260
_LOGGER.debug(
261261
"Created client `google.cloud.asset_v1.AssetServiceAsyncClient`.",
262262
extra = {
@@ -3212,7 +3212,7 @@ async def __aexit__(self, exc_type, exc, tb):
32123212

32133213
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(gapic_version=package_version.__version__)
32143214

3215-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER # fmt: skip
3215+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
32163216
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
32173217

32183218

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _get_default_mtls_endpoint(api_endpoint):
132132

133133
# Note: DEFAULT_ENDPOINT is deprecated. Use _DEFAULT_ENDPOINT_TEMPLATE instead.
134134
DEFAULT_ENDPOINT = "cloudasset.googleapis.com"
135-
DEFAULT_MTLS_ENDPOINT = _get_default_mtls_endpoint.__func__( # type: ignore # fmt: skip
135+
DEFAULT_MTLS_ENDPOINT = _get_default_mtls_endpoint.__func__( # type: ignore
136136
DEFAULT_ENDPOINT
137137
)
138138

@@ -153,7 +153,7 @@ def _use_client_cert_effective():
153153
GOOGLE_API_USE_CLIENT_CERTIFICATE is set to an unexpected value.)
154154
"""
155155
# check if google-auth version supports should_use_client_cert for automatic mTLS enablement
156-
if hasattr(mtls, "should_use_client_cert"): # pragma: NO COVER # fmt: skip
156+
if hasattr(mtls, "should_use_client_cert"): # pragma: NO COVER
157157
return mtls.should_use_client_cert()
158158
else: # pragma: NO COVER
159159
# if unsupported, fallback to reading from env var
@@ -624,7 +624,7 @@ def __init__(self, *,
624624
# Initialize the universe domain validation.
625625
self._is_universe_domain_valid = False
626626

627-
if CLIENT_LOGGING_SUPPORTED: # pragma: NO COVER # fmt: skip
627+
if CLIENT_LOGGING_SUPPORTED: # pragma: NO COVER
628628
# Setup logging.
629629
client_logging.initialize_logging()
630630

@@ -681,7 +681,7 @@ def __init__(self, *,
681681
)
682682

683683
if "async" not in str(self._transport):
684-
if CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(std_logging.DEBUG): # pragma: NO COVER # fmt: skip
684+
if CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(std_logging.DEBUG): # pragma: NO COVER
685685
_LOGGER.debug(
686686
"Created client `google.cloud.asset_v1.AssetServiceClient`.",
687687
extra = {
@@ -3640,7 +3640,7 @@ def get_operation(
36403640

36413641
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(gapic_version=package_version.__version__)
36423642

3643-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER # fmt: skip
3643+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
36443644
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
36453645

36463646
__all__ = (

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/transports/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(gapic_version=package_version.__version__)
3636

37-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER # fmt: skip
37+
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
3838
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
3939

4040

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/transports/grpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
class _LoggingClientInterceptor(grpc.UnaryUnaryClientInterceptor): # pragma: NO COVER
4949
def intercept_unary_unary(self, continuation, client_call_details, request):
5050
logging_enabled = CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(std_logging.DEBUG)
51-
if logging_enabled: # pragma: NO COVER # fmt: skip
51+
if logging_enabled: # pragma: NO COVER
5252
request_metadata = client_call_details.metadata
5353
if isinstance(request, proto.Message):
5454
request_payload = type(request).to_json(request)
@@ -76,7 +76,7 @@ def intercept_unary_unary(self, continuation, client_call_details, request):
7676
},
7777
)
7878
response = continuation(client_call_details, request)
79-
if logging_enabled: # pragma: NO COVER # fmt: skip
79+
if logging_enabled: # pragma: NO COVER
8080
response_metadata = response.trailing_metadata()
8181
# Convert gRPC metadata `<class 'grpc.aio._metadata.Metadata'>` to list of tuples
8282
metadata = dict([(k, str(v)) for k, v in response_metadata]) if response_metadata else None

tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/transports/grpc_asyncio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
class _LoggingClientAIOInterceptor(grpc.aio.UnaryUnaryClientInterceptor): # pragma: NO COVER
5353
async def intercept_unary_unary(self, continuation, client_call_details, request):
5454
logging_enabled = CLIENT_LOGGING_SUPPORTED and _LOGGER.isEnabledFor(std_logging.DEBUG)
55-
if logging_enabled: # pragma: NO COVER # fmt: skip
55+
if logging_enabled: # pragma: NO COVER
5656
request_metadata = client_call_details.metadata
5757
if isinstance(request, proto.Message):
5858
request_payload = type(request).to_json(request)
@@ -80,7 +80,7 @@ async def intercept_unary_unary(self, continuation, client_call_details, request
8080
},
8181
)
8282
response = await continuation(client_call_details, request)
83-
if logging_enabled: # pragma: NO COVER # fmt: skip
83+
if logging_enabled:
8484
response_metadata = await response.trailing_metadata()
8585
# Convert gRPC metadata `<class 'grpc.aio._metadata.Metadata'>` to list of tuples
8686
metadata = dict([(k, str(v)) for k, v in response_metadata]) if response_metadata else None
@@ -1213,7 +1213,7 @@ def _prep_wrapped_messages(self, client_info):
12131213
}
12141214

12151215
def _wrap_method(self, func, *args, **kwargs):
1216-
if self._wrap_with_kind: # pragma: NO COVER # fmt: skip
1216+
if self._wrap_with_kind: # pragma: NO COVER
12171217
kwargs["kind"] = self.kind
12181218
return gapic_v1.method_async.wrap_method(func, *args, **kwargs)
12191219

0 commit comments

Comments
 (0)