Skip to content

Commit 94e5e05

Browse files
authored
Merge pull request #3047 from tseaver/3037-pubsub-clarify_reload_semantics
Expand motivation in 'Subscription.reload' docstring.
2 parents 5e80776 + 4df374c commit 94e5e05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pubsub/google/cloud/pubsub/subscription.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ def reload(self, client=None):
220220
See
221221
https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/get
222222
223+
:attr:`ack_deadline` and :attr:`push_endpoint` might never have
224+
been set locally, or might have been updated by another client. This
225+
method fetches their values from the server.
226+
223227
Example:
224228
225229
.. literalinclude:: pubsub_snippets.py

0 commit comments

Comments
 (0)