MCPcopy Create free account
hub / github.com/ipython/ipython / __getitem__

Method __getitem__

IPython/lib/backgroundjobs.py:199–201  ·  view source on GitHub ↗
(self, job_key)

Source from the content-addressed store, hash-verified

197 return job
198
199 def __getitem__(self, job_key):
200 num = job_key if isinstance(job_key, int) else job_key.num
201 return self.all[num]
202
203 def __call__(self):
204 """An alias to self.status(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected