code: def list():
      """List Hail credentials."""
      from hailtop.config import (
          get_deploy_config,
      )  # pylint: disable=import-outside-toplevel
      from hailtop.auth import (
          get_tokens,
      )  # pylint: disable=import-outside-toplevel
  
      deploy_config = get_deploy_config()
      tokens = get_tokens()
      for ns in tokens:
          if ns == deploy_config.default_namespace():
              s = "*"
          else:
              s = " "
          print(f"{s}{ns}")
  
file_path: hail/hail/python/hailtop/hailctl/auth/cli.py
imports: import asyncio
  import sys
  import typer
  from typer import Argument
  import json
  from typing import Optional, Annotated
label_desc: Use image node_id 4 for calling a global function with example usage: list() without return types