INNER CODE UNIT · Python

list_task_names

flyteorg/flytekit · flytekit/clis/flyte_cli/main.py:641

def list_task_names(project, domain, host, insecure, token, limit, show_all, sort_by):
    """
    List the name of the tasks that are in the registered workflow under
    a specific project and domain.
    """
    _welcome_message()
    client = _get_client(host, insecure)

    click.echo("Task Names Found in {}:{}\n".format(_tt(project), _tt(domain)))
    while True:
        task_ids, next_token = client.list_task_ids_paginated(
            project,
            domain,
            limit=limit,
            token=token,
            sort_by=_admin_common.Sort.from_python_std(sort_by) if sort_by else None,
        )
        for t in task_ids:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…