Skip to content

Commit

Permalink
Add optional purpose enum to bundle creation callback.
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Montoya Vozmediano <[email protected]>
  • Loading branch information
rmv committed Oct 26, 2023
1 parent e36eb03 commit 7c70d64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/deadline/maya_submitter/maya_render_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from deadline.client.job_bundle._yaml import deadline_yaml_dump
from deadline.client.ui.dialogs.submit_job_to_deadline_dialog import ( # pylint: disable=import-error
SubmitJobToDeadlineDialog,
JobBundlePurpose,
)
from deadline.client.exceptions import DeadlineOperationError
from PySide2.QtCore import Qt # pylint: disable=import-error
Expand Down Expand Up @@ -514,6 +515,7 @@ def on_create_job_bundle_callback(
queue_parameters: list[dict[str, Any]],
asset_references: AssetReferences,
host_requirements: Optional[dict[str, Any]] = None,
purpose: JobBundlePurpose = JobBundlePurpose.SUBMISSION,
) -> None:
job_bundle_path = Path(job_bundle_dir)

Expand Down

0 comments on commit 7c70d64

Please sign in to comment.