docs: def split_by_commas(maybe_s: str) -> Tuple[str, ...]:
      """Split a string by commas, but allow escaped commas.
      - If maybe_s is falsey, returns an empty tuple
      - Ignore backslashed commas
      """
      if not maybe_s:
          return ()
      parts: List[str] = []
      split_by_backslash = maybe_s.split(r'\,')
      for split_by_backslash_part in split_by_backslash:
          splitby_comma = split_by_backslash_part.split(',')
          if parts:
              parts[-1] += ',' + splitby_comma[0]
          else:
              parts.append(splitby_comma[0])
          parts.extend(splitby_comma[1:])
      return tuple(parts)