diff --git a/.stats.yml b/.stats.yml index 6dd35a632..dbef49efc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 32 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-b8f197cfb474d0286fe38200bfa00e56952448f397cc166c2a6061bbd8597a28.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-eb9d7d556ce8bb09ae1142131a70bce4aa1536e7f38963d8cbaf98cf7f757f20.yml diff --git a/src/runloop_api_client/types/shared/after_idle.py b/src/runloop_api_client/types/shared/after_idle.py index b9511d7f2..09eba857d 100644 --- a/src/runloop_api_client/types/shared/after_idle.py +++ b/src/runloop_api_client/types/shared/after_idle.py @@ -11,5 +11,5 @@ class AfterIdle(BaseModel): idle_time_seconds: int """After idle_time_seconds, on_idle action will be taken.""" - on_idle: Literal["shutdown", "suspend"] + on_idle: Literal["unknown", "shutdown", "suspend"] """Action to take after Devbox becomes idle.""" diff --git a/src/runloop_api_client/types/shared_params/after_idle.py b/src/runloop_api_client/types/shared_params/after_idle.py index a9112b6b8..f603ee209 100644 --- a/src/runloop_api_client/types/shared_params/after_idle.py +++ b/src/runloop_api_client/types/shared_params/after_idle.py @@ -11,5 +11,5 @@ class AfterIdle(TypedDict, total=False): idle_time_seconds: Required[int] """After idle_time_seconds, on_idle action will be taken.""" - on_idle: Required[Literal["shutdown", "suspend"]] + on_idle: Required[Literal["unknown", "shutdown", "suspend"]] """Action to take after Devbox becomes idle.""" diff --git a/tests/api_resources/test_blueprints.py b/tests/api_resources/test_blueprints.py index 1e9b97c83..765cdec37 100644 --- a/tests/api_resources/test_blueprints.py +++ b/tests/api_resources/test_blueprints.py @@ -58,7 +58,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: launch_parameters={ "after_idle": { "idle_time_seconds": 0, - "on_idle": "shutdown", + "on_idle": "unknown", }, "available_ports": [0, 0, 0], "keep_alive_time_seconds": 0, @@ -239,7 +239,7 @@ def test_method_preview_with_all_params(self, client: Runloop) -> None: launch_parameters={ "after_idle": { "idle_time_seconds": 0, - "on_idle": "shutdown", + "on_idle": "unknown", }, "available_ports": [0, 0, 0], "keep_alive_time_seconds": 0, @@ -314,7 +314,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - launch_parameters={ "after_idle": { "idle_time_seconds": 0, - "on_idle": "shutdown", + "on_idle": "unknown", }, "available_ports": [0, 0, 0], "keep_alive_time_seconds": 0, @@ -495,7 +495,7 @@ async def test_method_preview_with_all_params(self, async_client: AsyncRunloop) launch_parameters={ "after_idle": { "idle_time_seconds": 0, - "on_idle": "shutdown", + "on_idle": "unknown", }, "available_ports": [0, 0, 0], "keep_alive_time_seconds": 0, diff --git a/tests/api_resources/test_devboxes.py b/tests/api_resources/test_devboxes.py index 8ec53acd3..a3f6cea16 100644 --- a/tests/api_resources/test_devboxes.py +++ b/tests/api_resources/test_devboxes.py @@ -70,7 +70,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None: launch_parameters={ "after_idle": { "idle_time_seconds": 0, - "on_idle": "shutdown", + "on_idle": "unknown", }, "available_ports": [0, 0, 0], "keep_alive_time_seconds": 0, @@ -786,7 +786,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) - launch_parameters={ "after_idle": { "idle_time_seconds": 0, - "on_idle": "shutdown", + "on_idle": "unknown", }, "available_ports": [0, 0, 0], "keep_alive_time_seconds": 0,