canvasapi icon indicating copy to clipboard operation
canvasapi copied to clipboard

change update_score_and_comments to wrap args

Open breed opened this issue 1 year ago • 0 comments

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

breed avatar Apr 04 '23 16:04 breed