aboutsummaryrefslogtreecommitdiff
path: root/google/api_core/future/polling.py
diff options
context:
space:
mode:
Diffstat (limited to 'google/api_core/future/polling.py')
-rw-r--r--google/api_core/future/polling.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/google/api_core/future/polling.py b/google/api_core/future/polling.py
index 4266e9e..6b4c687 100644
--- a/google/api_core/future/polling.py
+++ b/google/api_core/future/polling.py
@@ -66,9 +66,12 @@ class PollingFuture(base.Future):
self._done_callbacks = []
@abc.abstractmethod
- def done(self):
+ def done(self, retry=DEFAULT_RETRY):
"""Checks to see if the operation is complete.
+ Args:
+ retry (google.api_core.retry.Retry): (Optional) How to retry the RPC.
+
Returns:
bool: True if the operation is complete, False otherwise.
"""