INNER CODE UNIT · Python
_secho_one_execution
flyteorg/flytekit · flytekit/clis/flyte_cli/main.py:228
def _secho_one_execution(ex, urns_only):
if not urns_only:
click.echo(
"{:100} {:40} {:40}".format(
_tt(cli_identifiers.WorkflowExecutionIdentifier.promote_from_model(ex.id)),
_tt(ex.id.name),
_tt(ex.spec.launch_plan.name),
),
nl=False,
)
_secho_workflow_status(ex.closure.phase)
else:
click.echo(
"{:100}".format(_tt(cli_identifiers.WorkflowExecutionIdentifier.promote_from_model(ex.id))),
nl=True,
)