From c279cfd7cce0b67b84af6c9e83847733cfb1dbb8 Mon Sep 17 00:00:00 2001 From: Ben <141187028+benl-2023@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:01:50 -0700 Subject: [PATCH] fix: include description in job submission (#188) Signed-off-by: ben <141187028+benl-2023@users.noreply.github.com> --- src/deadline/maya_submitter/maya_render_submitter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/deadline/maya_submitter/maya_render_submitter.py b/src/deadline/maya_submitter/maya_render_submitter.py index e3088f2..5a42b1a 100644 --- a/src/deadline/maya_submitter/maya_render_submitter.py +++ b/src/deadline/maya_submitter/maya_render_submitter.py @@ -70,8 +70,10 @@ def _get_job_template( ) -> dict[str, Any]: job_template = deepcopy(default_job_template) - # Set the job's name + # Set the job's name and description job_template["name"] = settings.name + if settings.description: + job_template["description"] = settings.description # If there are multiple frame ranges, split up the Frames parameter by layer if render_layers[0].frames_parameter_name: