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

Method _group_report

IPython/lib/backgroundjobs.py:244–254  ·  view source on GitHub ↗

Report summary for a given job group. Return True if the group had any elements.

(self,group,name)

Source from the content-addressed store, hash-verified

242 running[:] = filter(None, running)
243
244 def _group_report(self,group,name):
245 """Report summary for a given job group.
246
247 Return True if the group had any elements."""
248
249 if group:
250 print('%s jobs:' % name)
251 for job in group:
252 print('%s : %s' % (job.num,job))
253 print()
254 return True
255
256 def _group_flush(self,group,name):
257 """Flush a given job group

Callers 2

_status_newMethod · 0.95
statusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected