ExtendedAttestAssignment

class ExtendedAttestAssignment[source]

The full version of an Attest assignment.

type: Literal['attest']

The type of the assignment, always attest here.

id: int

The id of the assignment.

name: str

The name of the assignment.

created_at: datetime

When this assignment was created.

course_id: int

The course this assignment belongs to.

has_multiple_timeframes: bool

Does this assignment have multiple timeframes.

is_lti: bool

Is this an LTI assignment.

has_description: bool

Whether the assignment has liked description file.

restrictions: AssignmentRestriction

Whether the assignment is password restricted or not.

timeframe: TimeframeLike

Is the assignment available.

grade_availability: FixedGradeAvailability

What is grade availability of this assignment.

cgignore: SubmissionValidatorInputData | str | None

The cginore.

cgignore_version: CGIgnoreVersion | None

The version of the cignore file.

fixed_max_rubric_points: float | None

The fixed value for the maximum that can be achieved in a rubric. This can be higher and lower than the actual max. Will be None if unset.

max_grade: float

The maximum grade you can get for this assignment. This is based around the idea that a 10 is a ‘perfect’ score. So if this value is 12 a user can score 2 additional bonus points. If this value is None it is unset and regarded as a 10.

grading: AssignmentPointsGradingSettings | AssignmentPercentageGradingSettings

Settings that influence how the grade for a submission can be determined. TODO: Should we also move max_grade and/or fixed_max_rubric_points to the grading object?

group_set: GroupSet | None

The group set of this assignment. This is None if this assignment is not a group assignment.

lms_name: str | None

The LMS providing this LTI assignment.

division_parent_id: int | None

The assignment id of the assignment that determines the grader division of this assignment. This will be null if you do not have permissions to see this information, or if no such parent is set.

anonymized_grading: AssignmentAnonymizationAlgo | None

The anonymization algorithm used for this assignment.