uw_canvas/assignments.py
def update_assignment(self, assignment):
        """
        Modify an existing assignment.

        https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.update
        """
        url = ASSIGNMENTS_API.format(assignment.course_id) + "/{}".format(
            assignment.assignment_id)

        data = self._put_resource(url, assignment.json_data())
        return Assignment(data=data)
def update_assignment(self, assignment):
        url = ASSIGNMENTS_API.format(assignment.course_id) + "/{}".format(
            assignment.assignment_id)

        data = self._put_resource(url, assignment.json_data())
        return Assignment(data=data)
def update_assignment ( self , assignment ) : url = ASSIGNMENTS_API . format ( assignment . course_id ) + "/{}" . format ( assignment . assignment_id ) data = self . _put_resource ( url , assignment . json_data ( ) ) return Assignment ( data = data )
Modify an existing assignment.

        https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.update
Modify an existing assignment .