Skip to content

Commit c58db83

Browse files
feat(api): api update
1 parent c46516d commit c58db83

3 files changed

Lines changed: 26 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 92
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-b3ce005070de130c689c5e82a0decb0515feedc16f6aed5b68a620c0e2c33c99.yml
3-
openapi_spec_hash: a6d282538829a82c412ed65565d33c9c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-21b418d85e71d7b32808df083e062682b61218b07f32c952f55fc5011c2844c3.yml
3+
openapi_spec_hash: ce35e568bb138376f3345a61a65a57cc
44
config_hash: 60681f589a9e641fdb7f19af2021a033

src/runloop_api_client/types/shared/launch_parameters.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,22 @@ class LaunchParameters(BaseModel):
3535
"""
3636

3737
custom_cpu_cores: Optional[int] = None
38-
"""custom resource size, number of cpu cores, must be multiple of 2."""
38+
"""custom resource size, number of cpu cores, must be multiple of 2.
39+
40+
Min is 1, max is 16.
41+
"""
3942

4043
custom_disk_size: Optional[int] = None
41-
"""custom disk size, number in Gi, must be a multiple of 2."""
44+
"""custom disk size, number in GiB, must be a multiple of 2.
45+
46+
Min is 2GiB, max is 64GiB.
47+
"""
4248

4349
custom_gb_memory: Optional[int] = None
44-
"""custom memory size, number in Gi, must be a multiple of 2."""
50+
"""custom memory size, number in GiB, must be a multiple of 2.
51+
52+
Min is 2GiB, max is 64GiB.
53+
"""
4554

4655
keep_alive_time_seconds: Optional[int] = None
4756
"""Time in seconds after which Devbox will automatically shutdown.

src/runloop_api_client/types/shared_params/launch_parameters.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,22 @@ class LaunchParameters(TypedDict, total=False):
3636
"""
3737

3838
custom_cpu_cores: Optional[int]
39-
"""custom resource size, number of cpu cores, must be multiple of 2."""
39+
"""custom resource size, number of cpu cores, must be multiple of 2.
40+
41+
Min is 1, max is 16.
42+
"""
4043

4144
custom_disk_size: Optional[int]
42-
"""custom disk size, number in Gi, must be a multiple of 2."""
45+
"""custom disk size, number in GiB, must be a multiple of 2.
46+
47+
Min is 2GiB, max is 64GiB.
48+
"""
4349

4450
custom_gb_memory: Optional[int]
45-
"""custom memory size, number in Gi, must be a multiple of 2."""
51+
"""custom memory size, number in GiB, must be a multiple of 2.
52+
53+
Min is 2GiB, max is 64GiB.
54+
"""
4655

4756
keep_alive_time_seconds: Optional[int]
4857
"""Time in seconds after which Devbox will automatically shutdown.

0 commit comments

Comments
 (0)