Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add optional purpose enum to bundle creation callback. #50

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/deadline/nuke_submitter/deadline_submitter_for_nuke.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from deadline.client.ui import gui_error_handler
from deadline.client.ui.dialogs.submit_job_to_deadline_dialog import ( # type: ignore
SubmitJobToDeadlineDialog,
JobBundlePurpose,
)
from nuke import Node
from PySide2.QtCore import Qt # pylint: disable=import-error
Expand Down Expand Up @@ -234,6 +235,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)
job_template = _get_job_template(settings)
Expand Down
Loading