Skip to content

Commit aa5a335

Browse files
plamutemar-kar
authored andcommitted
Link to correct TimeoutError in futures docs (googleapis#9216)
1 parent a671d36 commit aa5a335

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pubsub/google/cloud/pubsub_v1/futures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def result(self, timeout=None):
9494
times out and raises TimeoutError.
9595
9696
Raises:
97-
~.pubsub_v1.TimeoutError: If the request times out.
97+
concurrent.futures.TimeoutError: If the request times out.
9898
Exception: For undefined exceptions in the underlying
9999
call execution.
100100
"""
@@ -114,7 +114,7 @@ def exception(self, timeout=None):
114114
times out and raises TimeoutError.
115115
116116
Raises:
117-
TimeoutError: If the request times out.
117+
concurrent.futures.TimeoutError: If the request times out.
118118
119119
Returns:
120120
Exception: The exception raised by the call, if any.

pubsub/google/cloud/pubsub_v1/publisher/futures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def result(self, timeout=None):
3939
str: The message ID.
4040
4141
Raises:
42-
~.pubsub_v1.TimeoutError: If the request times out.
42+
concurrent.futures.TimeoutError: If the request times out.
4343
Exception: For undefined exceptions in the underlying
4444
call execution.
4545
"""

0 commit comments

Comments
 (0)