PatchAssignmentData

class PatchAssignmentData[source]

Input data required for the Assignment::Patch operation.

name: Just[str] | _Nothing[str] = Nothing

The new name of the assignment

max_grade: Just[float | None] | _Nothing[float | None] = Nothing

The maximum possible grade for this assignment. You can reset this by passing null as value

group_set_id: Just[int | None] | _Nothing[int | None] = Nothing

The group set id for this assignment. Set to null to make this assignment not a group assignment

Should we send login links to students before the assignment opens. This is only available for assignments with ‘kind’ equal to ‘exam’.

kind: Just[AssignmentKind] | _Nothing[AssignmentKind] = Nothing

The new kind of assignment

files_upload_enabled: Just[bool] | _Nothing[bool] = Nothing

Should students be allowed to make submissions by uploading files

webhook_upload_enabled: Just[bool] | _Nothing[bool] = Nothing

Should students be allowed to make submissions using git webhooks

max_submissions: Just[int | None] | _Nothing[int | None] = Nothing

The maximum amount of submissions a user may create.

cool_off_period: Just[float] | _Nothing[float] = Nothing

The amount of time in seconds there should be between amount_in_cool_off_period + 1 submissions.

amount_in_cool_off_period: Just[int] | _Nothing[int] = Nothing

The maximum amount of submissions that can be made within cool_off_period seconds. This should be higher than or equal to 1.

ignore: Just[SubmissionValidatorInputData | str] | _Nothing[SubmissionValidatorInputData | str] = Nothing

The ignore file to use

ignore_version: Just[Literal['EmptySubmissionFilter', 'IgnoreFilterManager', 'SubmissionValidator']] | _Nothing[Literal['EmptySubmissionFilter', 'IgnoreFilterManager', 'SubmissionValidator']] = Nothing

The ignore version to use, defaults to “IgnoreFilterManager”.

done_type: Just[AssignmentDoneType | None] | _Nothing[AssignmentDoneType | None] = Nothing

How to determine grading is done for this assignment, this value is not used when reminder_time is null.

reminder_time: Just[datetime | None] | _Nothing[datetime | None] = Nothing

At what time should we send the reminder emails to the graders. This value is not used when done_type is null.

done_email: Just[str | None] | _Nothing[str | None] = Nothing

A list of emails that should receive an email when grading is done. This value has no effect when done_type is set to null.

anonymized_grading: Just[AssignmentAnonymizationAlgo | None] | _Nothing[AssignmentAnonymizationAlgo | None] = Nothing

Should anonymized grading be enabled for this assignment.

file_to_load_first: Just[str | None] | _Nothing[str | None] = Nothing

The file we should load first in an assignment

grading: Just[AssignmentPointsGradingSettings | AssignmentPercentageGradingSettings] | _Nothing[AssignmentPointsGradingSettings | AssignmentPercentageGradingSettings] = Nothing

Grading settings of this assignment.

grade_availability: Just[FixedGradeAvailability] | _Nothing[FixedGradeAvailability] = Nothing

The grade availability of this assignment.

submission_mode: Just[AssignmentSubmissionMode] | _Nothing[AssignmentSubmissionMode] = Nothing

The submission mode of this assignment