INNER CODE UNIT · Python

list_launch_plan_names

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

def list_launch_plan_names(project, domain, host, insecure, token, limit, show_all, sort_by):
    """
    List the names of the launch plans under the scope specified by {project, domain}.
    """
    _welcome_message()
    client = _get_client(host, insecure)
    click.echo("Launch Plan Names Found in {}:{}\n".format(_tt(project), _tt(domain)))
    while True:
        wf_ids, next_token = client.list_launch_plan_ids_paginated(
            project,
            domain,
            limit=limit,
            token=token,
            sort_by=_admin_common.Sort.from_python_std(sort_by) if sort_by else None,
        )
        for i in wf_ids:
            click.echo("\t{}".format(_tt(i.name)))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…