def METHOD_NAME(env: Dict[str, str], prefix: str) -> Dict[str, str]:
    """
    Filter a environment variables dict by key prefix.
    Args:
        env: Environment variables dict.
        prefix: Environment variable key prefix.
    Returns:
        Environment variables dict.
    """
    return {k: v for k, v in env.items() if k.startswith(prefix)}