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

Method status

IPython/lib/backgroundjobs.py:284–293  ·  view source on GitHub ↗

Print a status of all jobs currently being managed.

(self,verbose=0)

Source from the content-addressed store, hash-verified

282 return new_comp or new_dead
283
284 def status(self,verbose=0):
285 """Print a status of all jobs currently being managed."""
286
287 self._update_status()
288 self._group_report(self.running,'Running')
289 self._group_report(self.completed,'Completed')
290 self._group_report(self.dead,'Dead')
291 # Also flush the report queues
292 self._comp_report[:] = []
293 self._dead_report[:] = []
294
295 def remove(self,num):
296 """Remove a finished (completed or dead) job."""

Callers 1

__call__Method · 0.95

Calls 2

_update_statusMethod · 0.95
_group_reportMethod · 0.95

Tested by

no test coverage detected