def _api_pause(name, output, kwargs):
 scheduler.plan_resume(0)
 Downloader.do.pause()
 return report(output)

def _api_pause ( name , output , kwargs ) : scheduler . plan_resume ( 0 ) Downloader . do . pause ( ) return report ( output )
api: accepts output .