from typing import Tuple
from typing import Any


def _get_split_key(key: str, splitter: str = '+') -> Tuple[str, Any]:
    """ Gets the prefix key and any label after the splitter """

    splits = key.split(splitter, 1)
    if len(splits) > 1:
        return (splits[0], splits[1])
    else:
        return (splits[0], None)