def extract_from_generated_comma_separated_list(x: str) -> Sequence[str]:
  """Extract from a maybe badly formatted comma-separated list."""
  result = x.split(',')
  return [item.strip('" ') for item in result]
Extract from a maybe badly formatted comma-separated list.
concordia/utils/helper_functions.py