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 8fb5171 commit 8a7d999Copy full SHA for 8a7d999
lean/components/cloud/cloud_runner.py
@@ -139,7 +139,7 @@ def run_optimization(self,
139
try:
140
return self._task_manager.poll(
141
make_request=lambda: self._api_client.optimizations.get(created_optimization.optimizationId),
142
- is_done=lambda data: data.status != "active" and data.status != "running",
+ is_done=lambda data: data.status != "active" and data.status != "running" and data.status != "new",
143
get_progress=lambda data: data.get_progress()
144
)
145
except KeyboardInterrupt as e:
0 commit comments