MCPcopy Create free account
hub / github.com/vercel/examples / get_job

Function get_job

python/celery/worker/store.py:41–45  ·  view source on GitHub ↗
(job_id: str)

Source from the content-addressed store, hash-verified

39
40
41def get_job(job_id: str) -> Job | None:
42 raw = r.get(JOB_KEY.format(job_id))
43 if not raw:
44 return None
45 return Job.model_validate_json(raw)
46
47
48def list_recent_jobs() -> list[Job]:

Callers 2

get_job_statusFunction · 0.90
update_jobFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected