Submitter: make some functions externally callable#1
Draft
moonyuet wants to merge 7 commits into
Draft
Conversation
…convenient for ayon-deadline-cloud implementation
* ci: run Code Quality on mainline pushes to seed shared cache Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com> * fix(ci): grant id-token: write for release bump workflow Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com> * chore(ci): add manual test gate to release workflow Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com> --------- Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
Member
…ws-deadline#307) * chore: bump deadline-cloud version, switch to renamed function names Signed-off-by: Nathan MacLeod <142927985+npmacl@users.noreply.github.com>
…etting of publisher UI correctly
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Change
Make parts of the submitter logic externally callable. This allows to get the data from submitter as dictionaries before they are dumped to job bundle yaml files.
Example
You can now use following code to get access:
Note about
get_queue_parameters()This function was created to set Open Job Description queue parameters manually (not from the UI).
It can be used like so:
Or explicitely (it won't get
farm_idandqueue_idfrom the settings: