code: def copy_paste_login(copy_paste_token: str):
      """Obtain Hail credentials with a copy paste token."""
      from hailtop.auth import (
          copy_paste_login,
      )  # pylint: disable=import-outside-toplevel
      from hailtop.config import (
          get_deploy_config,
      )  # pylint: disable=import-outside-toplevel
  
      username = copy_paste_login(copy_paste_token)
      print(
          f'Logged into {get_deploy_config().base_url("auth")} as {username}.'
      )
  
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 2 for calling a global function with example usage: copy_paste_login(copy_paste_token) without return types