@task(base=BaseInstructorTask)
def delete_problem_state(entry_id, xmodule_instance_args):
 action_name = ugettext_noop('deleted')
 update_fcn = partial(delete_problem_module_state, xmodule_instance_args)
 visit_fcn = partial(perform_module_state_update, update_fcn, None)
 return run_main_task(entry_id, visit_fcn, action_name)

@ task ( base = BaseInstructorTask ) def delete_problem_state ( entry_id , xmodule_instance_args ) : action_name = ugettext_noop ( 'deleted' ) update_fcn = partial ( delete_problem_module_state , xmodule_instance_args ) visit_fcn = partial ( perform_module_state_update , update_fcn , None ) return run_main_task ( entry_id , visit_fcn , action_name )
deletes problem state entirely for all students on a particular problem in a course .