Skip to content

Commit 1453314

Browse files
committed
add new exec parameters to exec and await completed
1 parent 6ef7b34 commit 1453314

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,8 @@ def execute_and_await_completion(
802802
devbox_id: str,
803803
*,
804804
command: str,
805+
last_n: str | Omit = omit,
806+
optimistic_timeout: Optional[int] | Omit = omit,
805807
shell_name: Optional[str] | Omit = omit,
806808
polling_config: PollingConfig | None = None,
807809
# The following are forwarded to the initial execute request
@@ -823,6 +825,8 @@ def execute_and_await_completion(
823825
devbox_id,
824826
command=command,
825827
command_id=command_id,
828+
last_n=last_n,
829+
optimistic_timeout=optimistic_timeout,
826830
shell_name=shell_name,
827831
extra_headers=extra_headers,
828832
extra_query=extra_query,
@@ -2284,6 +2288,8 @@ async def execute_and_await_completion(
22842288
devbox_id: str,
22852289
*,
22862290
command: str,
2291+
last_n: str | Omit = omit,
2292+
optimistic_timeout: Optional[int] | Omit = omit,
22872293
shell_name: Optional[str] | Omit = omit,
22882294
polling_config: PollingConfig | None = None,
22892295
# The following are forwarded to the initial execute request
@@ -2306,6 +2312,8 @@ async def execute_and_await_completion(
23062312
devbox_id,
23072313
command=command,
23082314
command_id=command_id,
2315+
last_n=last_n,
2316+
optimistic_timeout=optimistic_timeout,
23092317
shell_name=shell_name,
23102318
extra_headers=extra_headers,
23112319
extra_query=extra_query,

0 commit comments

Comments
 (0)