refactor: use snake case instead of camel case in types (#1894)

This commit is contained in:
Marcelo Trylesinski 2026-01-16 15:51:27 +01:00 • committed by GitHub
commit e94b386a13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,13 +25,13 @@ async def run(url: str) -> None:
arguments={},
ttl=60000,
)
task_id = result.task.taskId
task_id = result.task.task_id
print(f"Task created: {task_id}")
status = None
# Poll until done (respects server's pollInterval hint)
async for status in session.experimental.poll_task(task_id):
print(f" Status: {status.status} - {status.statusMessage or ''}")
print(f" Status: {status.status} - {status.status_message or ''}")
# Check final status
if status and status.status != "completed":