aboutsummaryrefslogtreecommitdiff
path: root/google
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2019-07-23 21:39:06 -0400
committerGitHub <noreply@github.com>2019-07-23 21:39:06 -0400
commit1b42d94cec7f384ea9ea5bc790a44aeb009777cf (patch)
tree55226765bb8db3f1d560a03885ef47f45d0a4f7d /google
parentf6cda97ea544942c6dd92aa618b092904868ab13 (diff)
downloadpython-api-core-1b42d94cec7f384ea9ea5bc790a44aeb009777cf.tar.gz
Forward 'timeout' arg from 'exception' to '_blocking_poll'. (#8735)
Closes #8733.
Diffstat (limited to 'google')
-rw-r--r--google/api_core/future/polling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/google/api_core/future/polling.py b/google/api_core/future/polling.py
index 843fba0..4266e9e 100644
--- a/google/api_core/future/polling.py
+++ b/google/api_core/future/polling.py
@@ -139,7 +139,7 @@ class PollingFuture(base.Future):
Optional[google.api_core.GoogleAPICallError]: The operation's
error.
"""
- self._blocking_poll()
+ self._blocking_poll(timeout=timeout)
return self._exception
def add_done_callback(self, fn):