Skip to content

Commit 907f880

Browse files
committed
cp dines
1 parent c083ad5 commit 907f880

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def wait_for_devbox_status() -> DevboxView:
398398
# If it's neither, it will throw an error.
399399
return self._post(
400400
f"/v1/devboxes/{id}/wait_for_status",
401-
body={"statuses": ["running", "failure"]},
401+
body={"statuses": ["running", "failure", "shutdown"]},
402402
cast_to=DevboxView,
403403
)
404404

@@ -1752,7 +1752,7 @@ async def wait_for_devbox_status() -> DevboxView:
17521752
try:
17531753
return await self._post(
17541754
f"/v1/devboxes/{id}/wait_for_status",
1755-
body={"statuses": ["running", "failure"]},
1755+
body={"statuses": ["running", "failure", "shutdown"]},
17561756
cast_to=DevboxView,
17571757
)
17581758
except (APITimeoutError, APIStatusError) as error:

0 commit comments

Comments
 (0)