from typing import List
from typing import MutableMapping


def parse_template_mapping(
    template_mapping: List[str]
) -> MutableMapping[str, str]:
  """Parses a string template map from <key>=<value> strings."""
  result = {}
  for mapping in template_mapping:
    key, value = mapping.split("=", 1)
    result[key] = value
  return result