canvasapi
canvasapi copied to clipboard
Improving `canvasapi.submission.Submission`
Improving canvasapi.submission.Submission
Actually, the Submission
object returned by the Canvas API will potentially contain an attachment
attribute, which is, in fact, a list of File
objects.
Currently, the created Submission object will store it as a list of plain Python dict
parsed from the returned JSON.
Expected behavior
The constructor should further parse the attachments
attribute and store it as a list of canvasapi.file.File
s.