models

Classes

Assignment

An assignment (or quiz) for a student.

AssignmentQuerySet

CooldownPeriod

FileAction

Runs a user uploaded script on files uploaded to an assignment.

Folder

A folder for assignments.

MossResult

Quiz

A Quiz Model

QuizLogMessage

A log message for an Assignment (with is_quiz set to True)

Functions

moss_base_file_path(obj, _)[source]
run_action(command: list[str]) str[source]

Runs a command.

If the command cannot find a file, raises an exception. Otherwise, returns the stdout of the command.

upload_grader_file_path(assignment, _)[source]

Get the location of the grader file for an assignment