class_docstr: Contains information about accounts.
  `path`: Path to sqlite file where the information about accounts is stored.
docstr: Creates a new account with a random API key and returns that account (admin-only).
docstr_tok: ["Creates","a","new","account","with","a","random","API","key","and","returns","that","account","(","admin-only",")","."]
code: def create_account(self, auth: Authentication) -> Account:
      """
      Creates a new account with a random API key and returns that account (admin-only).
      """
      with SqliteDict(self.path) as cache:
          self._check_admin_with_cache(auth, cache)
  
          api_key: str = self._generate_nonexistent_api_key()
          account = Account(api_key=api_key)
          set_default_quotas(account)
  
          # Write new account to SqliteDict
          cache[api_key] = asdict(account)
          cache.commit()
          return account
  
imports: import copy
  import datetime
  import random
  import string
  from typing import Dict, Optional, Callable, List
  from dacite import from_dict
  from dataclasses import asdict, dataclass, field
  from sqlitedict import SqliteDict
  from helm.common.authentication import Authentication
  from helm.common.general import hlog
label_desc: Use image node_id 8 for calling the Accounts obj's underlying member method code with example usage: obj.create_account(auth) and returns: account