codepost-python
codepost-python copied to clipboard
Provides a convenient Python interface to the codePost API. Start scripting!
It would be nice if teachers could add rosters with unique student ID numbers
When running ```python submissions = assignment.list_submission(student=student) if submissions: submission = submissions[0] submission.grader = grader submission.saveInstance() ``` I get the error `AttributeError: 'Submissions' object has no attribute 'saveInstance'` Similarly when trying...
Example: ```python graders = codepost.roster.retrieve(course_id) codepost.roster.update(course_id, superGraders=graders) ``` Above does not work because `graders` is of type `codepost.models.abstract.linked_lists.APILinkedList`. Only by explicitly creating a `list` object does it work: ```python graders...
It would be nice if the Submissions API exposed the testRunsCompleted attribute.
The error log below is okay, but happened for arbitrary error, not clear if there was a retry. May consider catching these types of errors for better reporting? ``` ------------------------------------------------------------------------------------------------------...
A temporary hot fix that needs a better solution. The recent API and python codepost changes broke the API when attempting to update a submission. The API seems to require...
As specified by [PEP 561](https://peps.python.org/pep-0561/#packaging-type-information), could a `py.typed` file be added to support type checking? Otherwise, `mypy` cannot recognize `codepost` types.