figures/tasks.py
def include_course(course_overview, threshold=50):
        '''This function let's us skip over courses with many enrollments, speeding
        up testing. Do not use for production
        '''
        count = CourseEnrollment.objects.filter(course_id=course_overview.id).count()
        return False if count > threshold else True
This function let's us skip over courses with many enrollments, speeding
        up testing. Do not use for production
        
This function let's us skip over courses with many enrollments, speeding
up testing. Do not use for production
This function let ' s us skip over courses with many enrollments speeding up testing . Do not use for production
def include_course(course_overview, threshold=50):
        count = CourseEnrollment.objects.filter(course_id=course_overview.id).count()
        return False if count > threshold else True
def include_course ( course_overview , threshold = 50 ) : count = CourseEnrollment . objects . filter ( course_id = course_overview . id ) . count ( ) return False if count > threshold else True
This function let's us skip over courses with many enrollments, speeding
up testing.
This function let ' s us skip over courses with many enrollments speeding up testing .
'''This function let's us skip over courses with many enrollments, speeding
        up testing. Do not use for production
        '''
course_overview
threshold