We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 804c0ed commit 0be33c1Copy full SHA for 0be33c1
dataikuapi/dss/future.py
@@ -72,6 +72,8 @@ def wait_for_result(self):
72
"""
73
Wait and get the future result
74
75
+ if self.state.get('hasResult', False) and 'result' in self.state:
76
+ return self.result_wrapper(self.state.get('result', None))
77
if self.state is None or not self.state.get('hasResult', False) or self.state_is_peek:
78
self.get_state()
79
while not self.state.get('hasResult', False):
0 commit comments