from typing import Dict
from typing import Any


def get_job_not_finished_exception(user_id: str, job_id: str) -> Dict[str, Any]:
    """Return a job-not-finished-exception as dictionary."""
    return {
        "status": "error",
        "service": "jobs",
        "code": 400,
        "user_id": user_id,
        "msg": f"Job {job_id} is not yet finished. Results cannot be accessed.",
        "internal": False,
        "links": [],
    }