code: def handle_up(args: argparse.Namespace) -> None:
      try:
          validate_args(args)
      except ValueError as e:
          exc_str = "Argument Error: {}".format(e)
          cprint(exc_str, "red")
          cprint("Failed to create gke cluster", "red")
          sys.exit(1)
      if args.gpu_coscheduler or args.preemption:
          cprint(
              (
                  "Autoscaling is not supported with the lightweight coscheduling plugin or with the"
                  " preemptive priority-based scheduler, and so a GPU node pool with {} nodes will"
                  " be statically allocated. This can be changed by using the default Kubernetes"
                  "  scheduler, or specifying a different value for --max-gpu-nodes."
              ).format(args.max_gpu_nodes),
              "yellow",
          )
      create_cluster(args)
      configure_helm(args)
      cmd = ["helm", "install", "determined-gke", args.helm_dir]
      subprocess.check_call(cmd)
  
imports: import argparse
  import json
  import subprocess
  import sys
  from pathlib import Path
  from typing import Any, Dict, Optional, Union, cast
  from termcolor import cprint
  import determined
  from determined.common import yaml
  from determined.common.declarative_argparse import Arg, ArgGroup, Cmd
  from determined.common.util import safe_load_yaml_with_exceptions
  from determined.deploy.gke.constants import defaults
label_desc: Use image node_id 12 for calling a global function with example usage: handle_up(args) without return types