Skip to content

Latest commit

History

History
43 lines (34 loc) 路 2.33 KB

Assignment.md

File metadata and controls

43 lines (34 loc) 路 2.33 KB

Assignment

Assignment details

Properties

Name Type Description Notes
id str Unique identifier of the assignment
type AssignmentType
capabilities AssignmentCopyResponseCapabilities
title str Title of the assignment
description str Description and content of the assignment [optional]
cover str The URL of the cover to display [optional]
cover_file str The id of the cover to display [optional]
attachments List[MediaAttachment]
use_dedicated_attachments bool For all assignments created after 02/2023, all the underlying resources must be dedicated and stored in the assignment. This boolean indicates that this assignment only supports dedicated attachments. [optional]
max_points float If set, the grading will be enabled for the assignement [optional]
release_grades str For worksheets, how grading will work for the assignment: - If set to `auto`, the grades will be automatically released when the student submits the submissions - If set to `manual`, the grades will only be set as `draftGrade` and will be released when the teacher returns the submissions [optional]
shuffle_exercises bool Mixing worksheets exercises for each student [optional]
toolset str The id of the associated toolset [optional]
nb_playback_authorized float The number of playback authorized on the scores of the assignment. [optional]

Example

from flat_api.models.assignment import Assignment

# TODO update the JSON string below
json = "{}"
# create an instance of Assignment from a JSON string
assignment_instance = Assignment.from_json(json)
# print the JSON string representation of the object
print Assignment.to_json()

# convert the object into a dict
assignment_dict = assignment_instance.to_dict()
# create an instance of Assignment from a dict
assignment_form_dict = assignment.from_dict(assignment_dict)

[Back to Model list] [Back to API list] [Back to README]