Skip to content

Commit

Permalink
Add generate all feedback function
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Jun 27, 2022
1 parent 1d1a12a commit 42a360d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2xgrader/apps/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ def generate_feedback(
app.update_config(c)
app.force = force
return capture_log(app)
else:
with temp_attrs(self.coursedir, assignment_id=assignment_id):
app = GenerateFeedback(coursedir=self.coursedir, parent=self)
app.update_config(c)
app.force = force
return capture_log(app)

def get_solution_cell_ids(self, assignment_id, notebook_id):
"""Get information about the solution cells of a notebook
Expand Down

0 comments on commit 42a360d

Please sign in to comment.