MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / get_job

Method get_job

src/codegraphcontext/core/jobs.py:97–100  ·  view source on GitHub ↗

Retrieves the information for a single job.

(self, job_id: str)

Source from the content-addressed store, hash-verified

95 setattr(job, key, value)
96
97 def get_job(self, job_id: str) -> Optional[JobInfo]:
98 """Retrieves the information for a single job."""
99 with self.lock:
100 return self.jobs.get(job_id)
101
102 def list_jobs(self) -> List[JobInfo]:
103 """Returns a list of all jobs currently in the manager."""

Callers 7

test_create_jobMethod · 0.95
test_job_not_foundMethod · 0.95
check_job_status_toolMethod · 0.80
check_job_statusFunction · 0.80
_run_index_with_progressFunction · 0.80

Calls 1

getMethod · 0.65

Tested by 4

test_create_jobMethod · 0.76
test_job_not_foundMethod · 0.76