code: def parse_kv_pair(s: str) -> Tuple[str, str]:
      """
      Parse a key, value pair, separated by '='
  
      On the command line (argparse) a declaration will typically look like:
          foo=hello
      or
          foo="hello world"
      """
      items = s.split("=")
      k = items[0].strip()  # Remove whitespace around keys
  
      if len(items) <= 1:
          raise argparse.ArgumentTypeError(
              "Couldn't parse label '{}' into k=v format.".format(s)
          )
  
      v = "=".join(items[1:])
      return (k, v)
  
file_path: caliban/caliban/util/argparse.py
imports: import argparse
  import itertools
  import os
  from typing import Dict, List, Optional, Tuple
  from blessings import Terminal
  import caliban.util
  import caliban.util.fs
  import schema
label_desc: Use image node_id 4 for calling a global function with example usage: parse_kv_pair(s) and returns: k,  v