ricecooker
ricecooker copied to clipboard
Document how to edit level, learning activity, tags and category with ricecooker
- ricecooker version:
- Python version: 3.8.10
- Operating System: Ubuntu
Description
Make it possible to edit level, learning activity, tags and category with ricecooker.
Also Previous step, Next step, author, aggregator and Provider.
What I Did
I made a script to import content into Kolibri studio, but was not able to find any documentation on how to set the values for: level, learning activity, tags and category.
Hi @lsolesen - this is possible, but you are right that it is poorly documented. I will tweak your issue title to reflect this documentation need!
These kwargs to node classes allow setting this:
tags=None,
grade_levels=None,
resource_types=None,
learning_activities=None,
accessibility_labels=None,
categories=None,
learner_needs=None,
tags accepts a list of strings to apply as tags.
The other values accept a list of values from le_utils - with the relevant constants here: https://github.com/learningequality/le-utils/tree/main/le_utils/constants/labels