inginious.frontend.plugins.task_file_readers package
Additional task files managers for INGInious
Submodules
inginious.frontend.plugins.task_file_readers.json_reader module
JSON task file manager.
-
class
inginious.frontend.plugins.task_file_readers.json_reader.
TaskJSONFileReader
[source]
Bases: inginious.common.task_file_readers.abstract_reader.AbstractTaskFileReader
Read and write task descriptions in JSON
-
dump
(data)[source]
Dump descriptor and returns the content that should be written to the task file
-
classmethod
get_ext
()[source]
Returns the task file extension. Must be @classmethod!
-
load
(content)[source]
Parses file_content and returns a dict describing a task
-
inginious.frontend.plugins.task_file_readers.json_reader.
init
(plugin_manager, _, _2, _3)[source]
Init the plugin. Configuration:
plugins:
- plugin_module: inginious.frontend.plugins.task_file_readers.json_reader
inginious.frontend.plugins.task_file_readers.rst_reader module