M. Zulqarnain
e505d99237
pyupgrade on lms gating and grades apps ( #26532 )
2021-02-22 12:58:41 +05:00
M. Zulqarnain
0213fde968
BOM-2281 : Pylint amnesty for grades,gating and instructor app ( #26343 )
...
* pyint amnesty for grades,gating and instructor app
2021-02-03 18:14:35 +05:00
Muhammad Soban Javed
bd601cf3a6
Update celery routing for celery 4+ ( #25567 )
...
* Update celery routing
- Used routing function instead of class
- Move task queues dictionary to Django settings
- Removed routing_key parameter
- Refactored routing for singleton celery instantiation
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2020-12-16 13:40:47 +05:00
Awais Qureshi
7201edb11d
Revert "Update routing config" ( #25536 )" ( #25549 )" ( #25553 )" ( #25561 )
...
This reverts commit db4c3b1210 .
2020-11-11 00:13:47 +05:00
Awais Qureshi
db4c3b1210
Revert "Revert ""Update routing config" ( #25536 )" ( #25549 )" ( #25553 )
...
This reverts commit c1fe3c3a93 .
2020-11-10 23:23:09 +05:00
Muhammad Soban Javed
c1fe3c3a93
Revert ""Update routing config" ( #25536 )" ( #25549 )
...
This reverts commit 39a22734c1 .
2020-11-09 23:43:47 +05:00
Awais Qureshi
39a22734c1
"Update routing config" ( #25536 )
...
* Revert "Revert "Update routing config"
* Removed settings from lms/celery.py and cms/celery.py
* Moved settings import from top-level to function's scopes
Co-authored-by: Soban Javed <iamsobanjaved@gmail.com >
2020-11-09 19:06:55 +05:00
Muhammad Soban Javed
5a2ea1f954
Revert "Update routing config"
2020-11-06 02:05:48 +05:00
Soban Javed
3206d9cb9a
Update celery routing
...
- Used routing function istead of class
- Move task queues to Djano settings
- Removed routing_key parameter
2020-11-02 15:03:53 +05:00
Calen Pennington
2714da86a4
Always import task packages by absolute paths
...
This follows the recommendation in the Celery documentation so as to
not confuse automatic task name generation.
Docs: https://docs.celeryproject.org/en/stable/userguide/tasks.html#automatic-naming-and-relative-imports
2020-10-08 14:10:17 -04:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Awais Qureshi
a4428d751d
BOM-422
...
Fixing python3
2019-09-17 19:00:05 +05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Gregory Martin
77b2229210
GradingPolicyChanged Signal Handler
...
https://openedx.atlassian.net/browse/EDUCATOR-393
2017-05-31 10:46:55 -04:00
J. Cliff Dyer
7127ab863f
Use a stable ordering for shuffled tasks.
2017-05-16 12:37:51 -04:00
J. Cliff Dyer
1daa4eadd5
Shuffle tasks.
2017-04-28 14:19:21 -04:00
J. Cliff Dyer
77f5e2dd00
Fix batch size error and kwargification of compute_v2.
2017-04-26 16:30:27 -04:00
J. Cliff Dyer
8e409800fe
Fix calling convention for celery options
2017-04-26 09:35:15 -04:00
J. Cliff Dyer
7c3248f95c
Allow specifying waffle switch on compute_grades
...
If --estimate_first_attempted is passed, it can force enabling or
disabling the ENABLE_FIRST_ATTEMPTED waffle switch.
TNL-6841
2017-04-20 15:18:09 -04:00
Nimisha Asthagiri
1503e5f768
Grade only engaged learners
...
Add a new waffle switch that allows us to assume zero grades for
learners who have no entry previously recorded, and another to
disable persisting grades for unengaged learners.
TNL-6691
2017-04-11 10:41:57 -04:00
Sanford Student
e94513d079
use current()
2017-04-03 11:22:26 -04:00
Sanford Student
bdc0b33cb4
add settings for compute grades command
2017-03-29 17:07:44 -04:00
J. Cliff Dyer
b89736c75c
Add compute_grades management command.
...
TNL-6689
2017-03-21 14:47:33 -04:00