diff --git a/google/cloud/logging_v2/client.py b/google/cloud/logging_v2/client.py index 718be8807..ecbc7d32b 100644 --- a/google/cloud/logging_v2/client.py +++ b/google/cloud/logging_v2/client.py @@ -38,7 +38,7 @@ _GKE_RESOURCE_TYPE, _GCF_RESOURCE_TYPE, _RUN_RESOURCE_TYPE, - _CLOUD_RUN_JOB_RESOURCE_TYPE + _CLOUD_RUN_JOB_RESOURCE_TYPE, ) from google.cloud.logging_v2.logger import Logger diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index b8d29e96d..08784737c 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -803,7 +803,9 @@ def test_get_default_handler_container_engine(self): def test_get_default_handler_cloud_run_jobs(self): import os from google.cloud._testing import _Monkey - from google.cloud.logging_v2.handlers._monitored_resources import _CLOUD_RUN_JOB_ENV_VARS + from google.cloud.logging_v2.handlers._monitored_resources import ( + _CLOUD_RUN_JOB_ENV_VARS, + ) from google.cloud.logging.handlers import StructuredLogHandler credentials = _make_credentials()