def edit(self, **kwargs):
response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self.course_id, self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>if '<STR_LIT:name>' in response.json():<EOL><INDENT>super(AssignmentGroup, self).set_attributes(response.json())<EOL><DEDENT>return AssignmentGroup(self._requester, response.json())<EOL>
Modify this assignment group.

:calls: `PUT /api/v1/courses/:course_id/assignment_groups/:assignment_group_id \
<https://canvas.instructure.com/doc/api/assignment_groups.html#method.assignment_groups_api.update>`_

:rtype: :class:`canvasapi.assignment.AssignmentGroup`