MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / get_job_status

Method get_job_status

codewiki/src/fe/routes.py:155–161  ·  view source on GitHub ↗

API endpoint to get job status.

(self, job_id: str)

Source from the content-addressed store, hash-verified

153 return HTMLResponse(content=render_template(WEB_INTERFACE_TEMPLATE, context))
154
155 async def get_job_status(self, job_id: str) -> JobStatusResponse:
156 """API endpoint to get job status."""
157 job = self.background_worker.get_job_status(job_id)
158 if not job:
159 raise HTTPException(status_code=404, detail="Job not found")
160
161 return JobStatusResponse(**asdict(job))
162
163 async def view_docs(self, job_id: str) -> RedirectResponse:
164 """View generated documentation."""

Callers 4

index_postMethod · 0.45
view_docsMethod · 0.45
serve_generated_docsMethod · 0.45
get_job_statusFunction · 0.45

Calls 1

JobStatusResponseClass · 0.85

Tested by

no test coverage detected