We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5ff409 commit 7851fc3Copy full SHA for 7851fc3
src/app/api/v1/tasks.py
@@ -55,4 +55,5 @@ async def get_task(task_id: str) -> dict[str, Any] | None:
55
job_info = await job.info()
56
if job_info is None:
57
return None
58
- return job_info.__dict__ if hasattr(job_info, '__dict__') else dict(job_info) if job_info else None
+
59
+ return job_info.__dict__
0 commit comments