code: def list_clients(parsed_args: Namespace) -> None:
      oauth_clients = client.list_oauth_clients()
      headers = ["Name", "Client ID", "Domain"]
      keys = ["name", "id", "domain"]
      oauth_clients_dict = [
          {
              "name": oclient_obj.name,
              "id": oclient_obj.id,
              "domain": oclient_obj.domain,
          }
          for oclient_obj in oauth_clients
      ]
      render.tabulate_or_csv(
          headers,
          [
              [str(oclient[k]) for k in keys]
              for oclient in oauth_clients_dict
          ],
          False,
      )
  
file_path: determined/harness/determined/cli/oauth.py
imports: from argparse import Namespace
  from typing import Any, List
  from determined.cli import login_sdk_client, render
  from determined.common.declarative_argparse import Arg, Cmd
  from determined.experimental import client
label_desc: Use image node_id 1 for calling a global function with example usage: list_clients(parsed_args) without return types