@@ -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.
@@ -897,6 +897,7 @@ def execute_async(
897897 )
898898
899899 @typing_extensions .deprecated ("deprecated" )
900+ # Use execute, executeAsync, or executeAndAwaitCompletion instead
900901 def execute_sync (
901902 self ,
902903 id : str ,
@@ -915,6 +916,9 @@ def execute_sync(
915916 Execute a bash command in the Devbox shell, await the command completion and
916917 return the output.
917918
919+ .. deprecated::
920+ Use execute, executeAsync, or executeAndAwaitCompletion instead.
921+
918922 Args:
919923 command: The command to execute via the Devbox shell. By default, commands are run from
920924 the user home directory unless shell_name is specified. If shell_name is
@@ -2161,7 +2165,7 @@ async def execute(
21612165 id : str ,
21622166 * ,
21632167 command : str ,
2164- command_id : str ,
2168+ command_id : str = str ( uuid7 ()) ,
21652169 optimistic_timeout : Optional [int ] | Omit = omit ,
21662170 shell_name : Optional [str ] | Omit = omit ,
21672171 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -2341,6 +2345,7 @@ async def execute_async(
23412345 )
23422346
23432347 @typing_extensions .deprecated ("deprecated" )
2348+ # Use execute, executeAsync, or executeAndAwaitCompletion instead
23442349 async def execute_sync (
23452350 self ,
23462351 id : str ,
@@ -2359,6 +2364,9 @@ async def execute_sync(
23592364 Execute a bash command in the Devbox shell, await the command completion and
23602365 return the output.
23612366
2367+ .. deprecated::
2368+ Use execute, executeAsync, or executeAndAwaitCompletion instead.
2369+
23622370 Args:
23632371 command: The command to execute via the Devbox shell. By default, commands are run from
23642372 the user home directory unless shell_name is specified. If shell_name is
0 commit comments