def METHOD_NAME(
    job_name: str,
    delete_existing_job: bool = False,
    delete_aborted_job: bool = False,
) -> GenericJob:
    """
    Create a job.
    Args:
        job_name (str): name of the job
        delete_existing_job (bool): delete an existing job - default false
        delete_aborted_job (bool): delete an existing and aborted job - default false
    Returns:
        GenericJob: job object depending on the job_type selected
    """
    return JobType(
        class_name=name,  # Pass the class directly, JobType can handle that
        project=ProjectHDFio(
            project=self._project.copy(), file_name=job_name
        ),
        job_name=job_name,
        job_class_dict=self._job_class_dict,
        delete_existing_job=delete_existing_job,
        delete_aborted_job=delete_aborted_job,
    )