Skip to content

Commit 08e0586

Browse files
chore(documentation): made warning message language more accurate (#7215)
1 parent 2527bb7 commit 08e0586

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-294ebcf6886a5ddbebeaa70923b7674757459e73ef08cd2fbc63fb70e1932eac.yml
3-
openapi_spec_hash: 3a2a14e7ddd646f53d9f21bef2e84ec5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-c89b52af46573ea81341b7115e59ee3f995ff9fe5b48a04318176d9b30e7eb79.yml
3+
openapi_spec_hash: a8b42cc79a4fc993c8cc5cc13fc443a2
44
config_hash: 22f65246be4646c23dde9f69f51252e7

src/runloop_api_client/types/shared/launch_parameters.py

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

4646
custom_cpu_cores: Optional[int] = None
47-
"""custom resource size, number of cpu cores, must be multiple of 2.
48-
49-
Min is 1, max is 16.
50-
"""
47+
"""Custom CPU cores. Must be 0.5, 1, or a multiple of 2. Max is 16."""
5148

5249
custom_disk_size: Optional[int] = None
53-
"""custom disk size, number in GiB, must be a multiple of 2.
54-
55-
Min is 2GiB, max is 64GiB.
56-
"""
50+
"""Custom disk size in GiB. Must be a multiple of 2. Min is 2GiB, max is 64GiB."""
5751

5852
custom_gb_memory: Optional[int] = None
59-
"""custom memory size, number in GiB, must be a multiple of 2.
60-
61-
Min is 2GiB, max is 64GiB.
62-
"""
53+
"""Custom memory size in GiB. Must be 1 or a multiple of 2. Max is 64GiB."""
6354

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

src/runloop_api_client/types/shared_params/launch_parameters.py

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

4848
custom_cpu_cores: Optional[int]
49-
"""custom resource size, number of cpu cores, must be multiple of 2.
50-
51-
Min is 1, max is 16.
52-
"""
49+
"""Custom CPU cores. Must be 0.5, 1, or a multiple of 2. Max is 16."""
5350

5451
custom_disk_size: Optional[int]
55-
"""custom disk size, number in GiB, must be a multiple of 2.
56-
57-
Min is 2GiB, max is 64GiB.
58-
"""
52+
"""Custom disk size in GiB. Must be a multiple of 2. Min is 2GiB, max is 64GiB."""
5953

6054
custom_gb_memory: Optional[int]
61-
"""custom memory size, number in GiB, must be a multiple of 2.
62-
63-
Min is 2GiB, max is 64GiB.
64-
"""
55+
"""Custom memory size in GiB. Must be 1 or a multiple of 2. Max is 64GiB."""
6556

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

0 commit comments

Comments
 (0)