gravitino.dto.job.job_template_dto.register_job_template

gravitino.dto.job.job_template_dto.register_job_template(job_type: JobType)

Decorator to register a subclass of JobTemplateDTO for a specific job type.

Args:

job_type (JobType): The job type to register the subclass for.

Returns:

Callable: The decorator function.