CodeAssignment

class CodeAssignment[source]

The serialization of a code assignment.

type: Literal['code']

The type of the assignment, always code here.

kind: Literal['normal']

Deprecated. Always normal, exam mode has been removed.

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.