diff --git a/logging/google/cloud/logging/handlers/app_engine.py b/logging/google/cloud/logging/handlers/app_engine.py index 4e09a76b89214..ca90f9f35632e 100644 --- a/logging/google/cloud/logging/handlers/app_engine.py +++ b/logging/google/cloud/logging/handlers/app_engine.py @@ -40,21 +40,12 @@ class AppEngineHandler(CloudLoggingHandler): :param client: the authenticated Google Cloud Logging client for this handler to use - :type name: str - :param name: the name of the custom log in Stackdriver Logging. Defaults - to 'python'. The name of the Python logger will be represented - in the ``python_logger`` field. - :type transport: type :param transport: Class for creating new transport objects. It should extend from the base :class:`.Transport` type and implement :meth`.Transport.send`. Defaults to :class:`.BackgroundThreadTransport`. The other option is :class:`.SyncTransport`. - - :type resource: :class:`~google.cloud.logging.resource.Resource` - :param resource: Monitored resource of the entry, defaults - to the global resource type. """ DEFAULT_LOGGER_NAME = 'app' diff --git a/logging/google/cloud/logging/handlers/transports/sync.py b/logging/google/cloud/logging/handlers/transports/sync.py index 7233ec8915299..d1e308aca711d 100644 --- a/logging/google/cloud/logging/handlers/transports/sync.py +++ b/logging/google/cloud/logging/handlers/transports/sync.py @@ -18,7 +18,6 @@ """ from google.cloud.logging.handlers.transports.base import Transport -from google.cloud.logging.resource import Resource class SyncTransport(Transport): diff --git a/logging/tests/unit/handlers/test_app_engine.py b/logging/tests/unit/handlers/test_app_engine.py index 7c9772dad350a..ccfe1f180d196 100644 --- a/logging/tests/unit/handlers/test_app_engine.py +++ b/logging/tests/unit/handlers/test_app_engine.py @@ -17,7 +17,6 @@ class TestAppEngineHandlerHandler(unittest.TestCase): - PROJECT = 'PROJECT' def _get_target_class(self):