code: def render_account(account: Account) -> Dict[str, str]:
      result = {
          "api_key": account.api_key,
          "description": account.description,
          "emails": ",".join(account.emails),
          "groups": ",".join(account.groups),
          "is_admin": "admin" if account.is_admin else "-",
      }
      for model_group, usages in account.usages.items():
          for granularity, usage in usages.items():
              result[f"{model_group}.{granularity}"] = render_usage(
                  usage
              )
      return result
  
file_path: H2O/h2o_hf/helm/src/helm/proxy/cli.py
imports: import argparse
  from typing import List, Dict
  import re
  import sys
  from helm.common.hierarchical_logger import hlog
  from helm.common.authentication import Authentication
  from .accounts import Usage, Account
  from .services.remote_service import RemoteService, add_service_args, create_remote_service, create_authentication
label_desc: Use image node_id 3 for calling a global function with example usage: render_account(account) and returns: result