code: def parse_add_label() -> Callable:
      def parse(s: str) -> Tuple[str, str]:
          try:
              key, value = s.split("=", 1)
          except ValueError:
              raise argparse.ArgumentTypeError(
                  "key=value format requires both a key and a value"
              )
  
          if not key or not value:
              raise argparse.ArgumentTypeError(
                  "both key and value must be defined in key=value format"
              )
          return key, value
  
      return parse
  
file_path: determined/harness/determined/deploy/gcp/cli.py
imports: import argparse
  import os
  import sys
  from pathlib import Path
  from typing import Any, Callable, Tuple
  import pkg_resources
  from termcolor import colored
  import determined.deploy
  from determined.cli.errors import CliError
  from determined.common.declarative_argparse import Arg, ArgGroup, Cmd, Group, string_to_bool
  from determined.deploy.errors import MasterTimeoutExpired
  from determined.deploy.gcp import constants, gcp
label_desc: Use image node_id 7 for calling a global function with example usage: parse_add_label() and returns: parse, key,  value