Skip to content

Commit 9b4a15e

Browse files
committed
Update stale docstrings.
1 parent 4793f75 commit 9b4a15e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

gcloud/_helpers.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,10 @@ def __init__(self, project=None, implicit=False):
246246
class _ClientProxy(object):
247247
"""Proxy for :class:`gcloud.pubsub.topic.Topic`.
248248
249-
:type wrapped: :class:`gcloud.pubsub.topic.Topic`
250-
:param wrapped: Topic being proxied.
249+
:param wrapped: Domain instance being proxied.
251250
252-
:type client: :class:`gcloud.pubsub.client.Client`
253-
:param client: Client used to pass connection / project.
251+
:param client: Client used to pass connection / project as needed to
252+
methods of ``wrapped``.
254253
"""
255254
def __init__(self, wrapped, client):
256255
self._wrapped = wrapped

gcloud/pubsub/client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ def list_subscriptions(self, page_size=None, page_token=None,
9393

9494
class _Topic(_ClientProxy):
9595
"""Proxy for :class:`gcloud.pubsub.topic.Topic`.
96+
97+
:type wrapped: :class:`gcloud.pubsub.topic.Topic`
98+
:param wrapped: Topic being proxied.
99+
100+
:type client: :class:`gcloud.pubsub.client.Client`
101+
:param client: Client used to pass connection / project.
96102
"""
97103
def subscription(self, name, ack_deadline=None, push_endpoint=None):
98104
""" Proxy through to :class:`gcloud.pubsub.subscription.Subscription`.

0 commit comments

Comments
 (0)