Skip to content

Commit 2a993fd

Browse files
feat(api): OpenAPI spec update via Stainless API (#162)
1 parent c55229a commit 2a993fd

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-c77dce4134ebb2ea5a0cda4f7328b33caf19cb1a518d78f41187bc6adb727951.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-6a2957eefc52bc72e8f14bc3d6c6e3f6754c29f4c8189af201d19d2819e80b1a.yml

src/runloop_api_client/types/resource_size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
__all__ = ["ResourceSize"]
66

7-
ResourceSize: TypeAlias = Literal["MINI", "SMALL", "MEDIUM", "LARGE", "X_LARGE"]
7+
ResourceSize: TypeAlias = Literal["SMALL", "MEDIUM", "LARGE", "X_LARGE", "CUSTOM_SIZE"]

tests/api_resources/test_blueprints.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
5555
launch_parameters={
5656
"keep_alive_time_seconds": 0,
5757
"launch_commands": ["string", "string", "string"],
58-
"resource_size_request": "MINI",
58+
"resource_size_request": "SMALL",
5959
},
6060
name="name",
6161
system_setup_commands=["string", "string", "string"],
@@ -225,7 +225,7 @@ def test_method_preview_with_all_params(self, client: Runloop) -> None:
225225
launch_parameters={
226226
"keep_alive_time_seconds": 0,
227227
"launch_commands": ["string", "string", "string"],
228-
"resource_size_request": "MINI",
228+
"resource_size_request": "SMALL",
229229
},
230230
name="name",
231231
system_setup_commands=["string", "string", "string"],
@@ -289,7 +289,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
289289
launch_parameters={
290290
"keep_alive_time_seconds": 0,
291291
"launch_commands": ["string", "string", "string"],
292-
"resource_size_request": "MINI",
292+
"resource_size_request": "SMALL",
293293
},
294294
name="name",
295295
system_setup_commands=["string", "string", "string"],
@@ -459,7 +459,7 @@ async def test_method_preview_with_all_params(self, async_client: AsyncRunloop)
459459
launch_parameters={
460460
"keep_alive_time_seconds": 0,
461461
"launch_commands": ["string", "string", "string"],
462-
"resource_size_request": "MINI",
462+
"resource_size_request": "SMALL",
463463
},
464464
name="name",
465465
system_setup_commands=["string", "string", "string"],

tests/api_resources/test_devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_method_create_with_all_params(self, client: Runloop) -> None:
5959
launch_parameters={
6060
"keep_alive_time_seconds": 0,
6161
"launch_commands": ["string", "string", "string"],
62-
"resource_size_request": "MINI",
62+
"resource_size_request": "SMALL",
6363
},
6464
metadata={"foo": "string"},
6565
name="name",
@@ -509,7 +509,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncRunloop) -
509509
launch_parameters={
510510
"keep_alive_time_seconds": 0,
511511
"launch_commands": ["string", "string", "string"],
512-
"resource_size_request": "MINI",
512+
"resource_size_request": "SMALL",
513513
},
514514
metadata={"foo": "string"},
515515
name="name",

0 commit comments

Comments
 (0)