def show_task(successful_transfers, task_id):
    """
    Executor for `globus task show`
    """
    client = get_client()

    if successful_transfers:
        print_successful_transfers(client, task_id)
    else:
        print_task_detail(client, task_id)
def show_task ( successful_transfers , task_id ) : client = get_client ( ) if successful_transfers : print_successful_transfers ( client , task_id ) else : print_task_detail ( client , task_id )
Executor for `globus task show`