Skip to content

Commit d6b7be2

Browse files
committed
add default for execute api
1 parent 06e0d87 commit d6b7be2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def execute(
718718
id: str,
719719
*,
720720
command: str,
721-
command_id: str,
721+
command_id: str = str(uuid7()),
722722
optimistic_timeout: Optional[int] | Omit = omit,
723723
shell_name: Optional[str] | Omit = omit,
724724
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -2161,7 +2161,7 @@ async def execute(
21612161
id: str,
21622162
*,
21632163
command: str,
2164-
command_id: str,
2164+
command_id: str = str(uuid7()),
21652165
optimistic_timeout: Optional[int] | Omit = omit,
21662166
shell_name: Optional[str] | Omit = omit,
21672167
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.

0 commit comments

Comments
 (0)