2 parents c083ad5 + 907f880 commit 27ecd77Copy full SHA for 27ecd77
1 file changed
src/runloop_api_client/resources/devboxes/devboxes.py
@@ -398,7 +398,7 @@ def wait_for_devbox_status() -> DevboxView:
398
# If it's neither, it will throw an error.
399
return self._post(
400
f"/v1/devboxes/{id}/wait_for_status",
401
- body={"statuses": ["running", "failure"]},
+ body={"statuses": ["running", "failure", "shutdown"]},
402
cast_to=DevboxView,
403
)
404
@@ -1752,7 +1752,7 @@ async def wait_for_devbox_status() -> DevboxView:
1752
try:
1753
return await self._post(
1754
1755
1756
1757
1758
except (APITimeoutError, APIStatusError) as error:
0 commit comments