lms.djangoapps.instructor_task.config package#

Submodules#

lms.djangoapps.instructor_task.config.models module#

Models for configuration of settings relevant to instructor tasks.

class lms.djangoapps.instructor_task.config.models.GradeReportSetting(*args, **kwargs)#

Bases: ConfigurationModel

Sets the batch size used when running grade reports with multiple celery workers.

exception DoesNotExist#

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned#

Bases: MultipleObjectsReturned

batch_size#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

change_date#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

changed_by#

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

changed_by_id#
enabled#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_next_by_change_date(*, field=<django.db.models.fields.DateTimeField: change_date>, is_next=True, **kwargs)#
get_previous_by_change_date(*, field=<django.db.models.fields.DateTimeField: change_date>, is_next=False, **kwargs)#
id#

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

lms.djangoapps.instructor_task.config.waffle module#

This module contains various configuration settings via waffle switches for the instructor_task app.

lms.djangoapps.instructor_task.config.waffle.course_grade_report_verified_only(course_id)#

Returns True if problem grade reports should only return rows for verified students in the given course, False otherwise.

lms.djangoapps.instructor_task.config.waffle.problem_grade_report_verified_only(course_id)#

Returns True if problem grade reports should only return rows for verified students in the given course, False otherwise.

lms.djangoapps.instructor_task.config.waffle.use_on_disk_grade_reporting(course_id)#

Returns True if problem grade reports should write chunks to disk rather than holding all in memory. False otherwise.

Module contents#