When running
submissions=assignment.list_submission(student=student)
ifsubmissions:
submission=submissions[0]
submission.grader=gradersubmission.saveInstance()
I get the error AttributeError: 'Submissions' object has no attribute 'saveInstance'
Similarly when trying to call the API manually:
requests.patch(f"https://api.codepost.io/submissions/{submission_id}", headers={"Authorization": f"Token {API_KEY}", "Content-Type": "application/json"}, data={"grader": grader})There is no error and I get a 200, but the grader is not updated
When running
I get the error
AttributeError: 'Submissions' object has no attribute 'saveInstance'Similarly when trying to call the API manually:
There is no error and I get a 200, but the grader is not updated