mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
OP-2518 - added group and department to submission to DL
Group is used to filter on which machines it should be rendered.
This commit is contained in:
parent
697bc11036
commit
1a1c65c912
1 changed files with 4 additions and 0 deletions
|
|
@ -248,6 +248,8 @@ class HarmonySubmitDeadline(
|
|||
secondary_pool = ""
|
||||
priority = 50
|
||||
chunk_size = 1000000
|
||||
group = "none"
|
||||
department = ""
|
||||
|
||||
def get_job_info(self):
|
||||
job_info = DeadlineJobInfo("Harmony")
|
||||
|
|
@ -264,6 +266,8 @@ class HarmonySubmitDeadline(
|
|||
job_info.SecondaryPool = self.secondary_pool
|
||||
job_info.ChunkSize = self.chunk_size
|
||||
job_info.BatchName = os.path.basename(self._instance.data["source"])
|
||||
job_info.Department = self.department
|
||||
job_info.Group = self.group
|
||||
|
||||
keys = [
|
||||
"FTRACK_API_KEY",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue