Skip to content

Examples

for folder in cli.paginate('ListElements', folder=True):
    print(folder['name'])

Download full logs for each Ponos task in a process

workflow = cli.request('RetrieveWorkflow', id='...')
for task in workflow['tasks']:
    with open(task['id'] + '.txt', 'w') as f:
        f.write(cli.request('RetrieveTaskLog', id=task['id']))