def onfinished(daisy=True): publish_logs(get_all_jobs)
def onfinished(daisy=True): from utils.process import publish_logs publish_logs(get_all_jobs)