Skip to content

Commit afaf0d1

Browse files
committed
added comment explaining command_id use and generation in docstring
1 parent 6864065 commit afaf0d1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,9 @@ def execute_and_await_completion(
820820
This method launches an execution and first attempts to
821821
return the result within the initial request's timeout. If the execution is not yet
822822
complete, it switches to using wait_for_command to minimize latency while waiting.
823+
824+
A command_id (UUIDv7) is automatically generated for idempotency and tracking.
825+
You can provide your own command_id to enable custom retry logic or external tracking.
823826
"""
824827
execution = self.execute(
825828
devbox_id,
@@ -2306,6 +2309,9 @@ async def execute_and_await_completion(
23062309
This method launches an execution and first attempts to
23072310
return the result within the initial request's timeout. If the execution is not yet
23082311
complete, it switches to using wait_for_command to minimize latency while waiting.
2312+
2313+
A command_id (UUIDv7) is automatically generated for idempotency and tracking.
2314+
You can provide your own command_id to enable custom retry logic or external tracking.
23092315
"""
23102316

23112317
execution = await self.execute(

0 commit comments

Comments
 (0)