@task(base=BaseInstructorTask)
def calculate_may_enroll_csv(entry_id, xmodule_instance_args):
 action_name = ugettext_noop('generated')
 task_fn = partial(upload_may_enroll_csv, xmodule_instance_args)
 return run_main_task(entry_id, task_fn, action_name)

@ task ( base = BaseInstructorTask ) def calculate_may_enroll_csv ( entry_id , xmodule_instance_args ) : action_name = ugettext_noop ( 'generated' ) task_fn = partial ( upload_may_enroll_csv , xmodule_instance_args ) return run_main_task ( entry_id , task_fn , action_name )
compute information about invited students who have not enrolled in a given course yet and upload the csv to an s3 bucket for download .