from typing import Dict
from typing import Any
import yaml


def yaml_dump(dict_to_dump: Dict[str, Any]) -> str:
    """Dump the dictionary as a YAML document."""
    return yaml.safe_dump(dict_to_dump, default_flow_style=False)