ExtendedWork#

class ExtendedWork[source]#

A submission in CodeGrade with extended data.

All data that might be None in this class might be None because of missing data or missing permissions.

comment: Optional[str]#

The general feedback comment for this submission.

comment_author: Optional[User]#

The author of the general feedback comment (this field is deprecated).

assignment_id: int#

The assignment id of this submission.

rubric_result: Optional[WorkRubricResultAsJSON]#

The rubric result of this submission.

id: int#

The id of the submission

user: User#

The author of the submission. If submission was created by a group this will be the virtual user of the group.

origin: WorkOrigin#

The way this submission was created.

created_at: datetime#

The moment the submission was created.

grade: Optional[float]#

The grade of the submission, or None if the submission hasn’t been graded of you cannot see the grade.

assignee: Optional[User]#

The user assigned to this submission. Or None if not assigned or if you may not see the assignee.

grade_overridden: bool#

Does this submission have a rubric grade which has been overridden.

extra_info: Any#

Some extra info that might be available. Currently only used for git submissions.

timeframe: TimeframeLike#

The timeframe that was used to hand-in this submission. Note that this is a combined timeframe that might be more lenient than any timeframe that existed.