from typing import Sequence


def _parse_dimension_list(argument: str) -> Sequence[str]:
  """Parse a sequence of dimensions or the empty list.

  Examples:
  k,m -> ['k', 'm']
  [] -> []
  """
  if argument == '[]':
    return []
  return argument.split(',')