code: def handle_update_api_key():
      def perform(args):
          auth = Authentication(**json.loads(args["auth"]))
          account = from_dict(Account, json.loads(args["account"]))
          return dataclasses.asdict(
              service.rotate_api_key(auth, account)
          )
  
      return safe_call(perform)
  
imports: from urllib.parse import unquote_plus
  import argparse
  import dataclasses
  import json
  import os
  import sys
  import time
  from dacite import from_dict
  import bottle
  from helm.common.authentication import Authentication
  from helm.common.hierarchical_logger import hlog
  from helm.common.request import Request
  from helm.common.perspective_api_request import PerspectiveAPIRequest
  from helm.common.tokenization_request import TokenizationRequest, DecodeRequest
  from .accounts import Account
  from .services.server_service import ServerService
  from .query import Query
label_desc: Use image node_id 10 for calling a global function with example usage: handle_update_api_key() and returns: safe_call, dataclasses