diff --git a/src/runloop_api_client/resources/devboxes/devboxes.py b/src/runloop_api_client/resources/devboxes/devboxes.py index 4a8bffe9e..78d15b510 100644 --- a/src/runloop_api_client/resources/devboxes/devboxes.py +++ b/src/runloop_api_client/resources/devboxes/devboxes.py @@ -718,7 +718,7 @@ def execute( id: str, *, command: str, - command_id: str, + command_id: str = str(uuid7()), optimistic_timeout: Optional[int] | Omit = omit, shell_name: Optional[str] | Omit = omit, # 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( ) @typing_extensions.deprecated("deprecated") + # Use execute, executeAsync, or executeAndAwaitCompletion instead def execute_sync( self, id: str, @@ -915,6 +916,9 @@ def execute_sync( Execute a bash command in the Devbox shell, await the command completion and return the output. + .. deprecated:: + Use execute, executeAsync, or executeAndAwaitCompletion instead. + Args: command: The command to execute via the Devbox shell. By default, commands are run from the user home directory unless shell_name is specified. If shell_name is @@ -2161,7 +2165,7 @@ async def execute( id: str, *, command: str, - command_id: str, + command_id: str = str(uuid7()), optimistic_timeout: Optional[int] | Omit = omit, shell_name: Optional[str] | Omit = omit, # 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( ) @typing_extensions.deprecated("deprecated") + # Use execute, executeAsync, or executeAndAwaitCompletion instead async def execute_sync( self, id: str, @@ -2359,6 +2364,9 @@ async def execute_sync( Execute a bash command in the Devbox shell, await the command completion and return the output. + .. deprecated:: + Use execute, executeAsync, or executeAndAwaitCompletion instead. + Args: command: The command to execute via the Devbox shell. By default, commands are run from the user home directory unless shell_name is specified. If shell_name is