-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
priority of tasks can be declared via the API #11445
Conversation
Build Artifacts
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like the right change - one possible tweak to tighten up the implementation.
Would also be good to add additional tests to the EnqueueArgsCreateTestCase here: https://github.com/learningequality/kolibri/blob/release-v0.16.x/kolibri/core/tasks/test/test_api.py#L598 to validate this update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent! This is safe to merge to release-v0.16.x so I will do a little rebasing here to retarget it.
* priority of tasks can be declared via the API * linting and bug fixes * use .format() instead of f strings * added test cases and use choicefield instead of integerfield
Summary
Reviewer guidance
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)