Skip to content

Commit 828584f

Browse files
feat(api): api update
1 parent 638747d commit 828584f

File tree

7 files changed

+26
-10
lines changed

7 files changed

+26
-10
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: 94
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-f60ee2123156a4db87ddfa4e1b8dd6379e26e8f8cf533946ca25b76559b6aa4d.yml
3-
openapi_spec_hash: d80fdfaf40c65ce8c1962c4f6d35acc6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-8e02c3b1500a865edf699bd71ae3796ffa686e68c414675ec3b1073d1d47c5e2.yml
3+
openapi_spec_hash: 86bc37c63758e046e45a4025685caa65
44
config_hash: 95facb8cef59b5a1b05763b871bf6a4b

src/runloop_api_client/resources/devboxes/executions.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ def stream_stderr_updates(
419419
Tails the stderr logs for the given execution with SSE streaming
420420
421421
Args:
422-
offset: The byte offset to start the stream from
422+
offset: The byte offset to start the stream from (if unspecified, starts from the
423+
beginning of the stream)
423424
424425
extra_headers: Send extra headers
425426
@@ -503,7 +504,8 @@ def stream_stdout_updates(
503504
Tails the stdout logs for the given execution with SSE streaming
504505
505506
Args:
506-
offset: The byte offset to start the stream from
507+
offset: The byte offset to start the stream from (if unspecified, starts from the
508+
beginning of the stream)
507509
508510
extra_headers: Send extra headers
509511
@@ -939,7 +941,8 @@ async def stream_stderr_updates(
939941
Tails the stderr logs for the given execution with SSE streaming
940942
941943
Args:
942-
offset: The byte offset to start the stream from
944+
offset: The byte offset to start the stream from (if unspecified, starts from the
945+
beginning of the stream)
943946
944947
extra_headers: Send extra headers
945948
@@ -1023,7 +1026,8 @@ async def stream_stdout_updates(
10231026
Tails the stdout logs for the given execution with SSE streaming
10241027
10251028
Args:
1026-
offset: The byte offset to start the stream from
1029+
offset: The byte offset to start the stream from (if unspecified, starts from the
1030+
beginning of the stream)
10271031
10281032
extra_headers: Send extra headers
10291033

src/runloop_api_client/types/devbox_async_execution_detail_view.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ class DevboxAsyncExecutionDetailView(BaseModel):
3333
This field will remain unset until the execution has completed.
3434
"""
3535

36+
stderr_truncated: Optional[bool] = None
37+
"""Indicates whether the stderr was truncated due to size limits."""
38+
3639
stdout: Optional[str] = None
3740
"""Standard out generated by command.
3841
3942
This field will remain unset until the execution has completed.
4043
"""
44+
45+
stdout_truncated: Optional[bool] = None
46+
"""Indicates whether the stdout was truncated due to size limits."""

src/runloop_api_client/types/devboxes/execution_stream_stderr_updates_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ class ExecutionStreamStderrUpdatesParams(TypedDict, total=False):
1111
devbox_id: Required[str]
1212

1313
offset: str
14-
"""The byte offset to start the stream from"""
14+
"""
15+
The byte offset to start the stream from (if unspecified, starts from the
16+
beginning of the stream)
17+
"""

src/runloop_api_client/types/devboxes/execution_stream_stdout_updates_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ class ExecutionStreamStdoutUpdatesParams(TypedDict, total=False):
1111
devbox_id: Required[str]
1212

1313
offset: str
14-
"""The byte offset to start the stream from"""
14+
"""
15+
The byte offset to start the stream from (if unspecified, starts from the
16+
beginning of the stream)
17+
"""

src/runloop_api_client/types/shared/launch_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class LaunchParameters(BaseModel):
5555
keep_alive_time_seconds: Optional[int] = None
5656
"""Time in seconds after which Devbox will automatically shutdown.
5757
58-
Default is 1 hour.
58+
Default is 1 hour. Maximum is 48 hours (172800 seconds).
5959
"""
6060

6161
launch_commands: Optional[List[str]] = None

src/runloop_api_client/types/shared_params/launch_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class LaunchParameters(TypedDict, total=False):
5757
keep_alive_time_seconds: Optional[int]
5858
"""Time in seconds after which Devbox will automatically shutdown.
5959
60-
Default is 1 hour.
60+
Default is 1 hour. Maximum is 48 hours (172800 seconds).
6161
"""
6262

6363
launch_commands: Optional[SequenceNotStr[str]]

0 commit comments

Comments
 (0)