def METHOD_NAME(self, workflow_id: str, name: str, require_success: bool = False) -> dict:
    jobs = self.jobs(workflow_id)
    if name not in jobs:
        raise JobMissing(f"Job {name} is not present in the workflow.")
    if require_success and jobs[name]['status'] != 'success':
        raise JobNotSuccessful(name, jobs[name]['status'])
    return jobs[name]