Removing the completion_requirement for a module item via CanvasAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Is that possible? I am using Python wrapper for CanvasAPI.
I can change it to one of the listed values ("must_submit", "must_view", etc) using ModuleItem.edit() API call, but any attempt to clear it gives an error. I tried passing
module_item={"completion_requirement:{"type":None}}
module_item={"completion_requirement:{"type":"None"}}
module_item={"completion_requirement:{"type":""}}
I also don't see any other possible API calls to accomplish it.
Thanks.
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
It looks like module_item={"completion_requirement":""} works.
Even though module_item={"completion_requirement":{}} and module_item={"completion_requirement":None} did not.