def _task_list(app_id, json_):

    client = marathon.create_client()
    tasks = client.get_tasks(app_id)

    emitting.publish_table(emitter, tasks, tables.app_task_table, json_)
    return 0
:param app_id: the id of the application
dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py/_task_list