wait_for_completion
Method
This is a method of the VideoAgent class in the video_agent module.Wait for video generation to complete.
Signature
Parameters
str
required
The video ID to poll
Optional[int]
Seconds between status checks (default: 10)
Optional[int]
Maximum wait time in seconds (default: 600)
Returns
Any
VideoObject with status “completed” or “failed”
Exceptions
TimeoutError
TimeoutError
If max_wait_time is exceeded
Uses
time.timeProgressSpinnerColumnTextColumnprogress.add_taskstatustime.sleepTimeoutError
Used By
Source
View on GitHub
praisonaiagents/agent/video_agent.py at line 468
