Skip to content

Conversation

@breed
Copy link
Contributor

@breed breed commented Apr 4, 2023

when calling update_score_and_comments on a quiz submission, the attempt is already in self and there will be only one item in the update list.

Proposed Changes

  • this change wraps the passed arguments in a unary quiz_submissions list if quiz_submissions is not one of the parameters to the call.

  • legacy behavior is preserved if quiz_submissions is in the calling parameters.

Fixes #601

when calling update_score_and_comments on a quiz submission, the
attempt is already in self and there will be only one item in the
update list.

this change wraps the passed arguments in a unary quiz_submissions
list if quiz_submissions is not one of the parameters to the call.

legacy behavior is preserved if quiz_submissions is in the calling
parameters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QuizSubmission update_score_and_comments doesn't seem to work

2 participants