Open madsobitsoe opened 2 years ago
We use the canvasapi package. They just released version 3.0.0: https://github.com/ucfopen/canvasapi/releases
One of the breaking changes:
Update Submission to return attachments as File objects instead of dictionaries. (Thanks, [@laitingsheng (https://github.com/laitingsheng))
We exploit/use the submission-attachments being dictionaries, at least in download.py
download.py
The easy fix is to change requirements.txt st. canvasapi version 2.2.0 is required. Currently we require >=2.0.0
requirements.txt
The harder fix is to figure out why they changed it and how/if we can update our code to respect the change.
We use the canvasapi package. They just released version 3.0.0: https://github.com/ucfopen/canvasapi/releases
One of the breaking changes:
We exploit/use the submission-attachments being dictionaries, at least in
download.py
The easy fix is to change
requirements.txt
st. canvasapi version 2.2.0 is required. Currently we require >=2.0.0The harder fix is to figure out why they changed it and how/if we can update our code to respect the change.