Await Completion • AI Agent SDK
await_completion: Async version of wait_for_completion().
await_completion
Async
Method
</div>
This is a method of the VideoAgent class in the video_agent module.
Async version of wait_for_completion().
Signature
async def await_completion(video_id: str, poll_interval: Optional[int], max_wait_time: Optional[int]) -> AnyParameters
ParamField
strNo description available.
ParamField
Optional[int]No description available.
ParamField
Optional[int]No description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
time.timeastatusasyncio.sleepTimeoutError
Used By
Source
View on GitHubpraisonaiagents/agent/video_agent.py at line 612