from typing import Dict


def _parse_placeholder(data: str, placeholders: Dict[str, str]) -> str:
    """Returns data with placeholders replaced."""
    # Replace placeholder
    for key, val in placeholders.items():
        data = data.replace(key, val)
    return data