Commit 32ed18fe by Calen Pennington

Allow slightly more latitude in what is passed as the children array

parent cff8ae46
...@@ -76,7 +76,7 @@ class XModule(object): ...@@ -76,7 +76,7 @@ class XModule(object):
location: Something Location-like that identifies this xmodule location: Something Location-like that identifies this xmodule
definition: A dictionary containing 'data' and 'children'. Both are optional definition: A dictionary containing 'data' and 'children'. Both are optional
'data': is JSON-like (string, dictionary, list, bool, or None, optionally nested) 'data': is JSON-like (string, dictionary, list, bool, or None, optionally nested)
'children': is a list of xmodule urls for child modules that this module depends on 'children': is a list of Location-like values for child modules that this module depends on
instance_state: A string of serialized json that contains the state of this module for instance_state: A string of serialized json that contains the state of this module for
current student accessing the system, or None if no state has been saved current student accessing the system, or None if no state has been saved
shared_state: A string of serialized json that contains the state that is shared between shared_state: A string of serialized json that contains the state that is shared between
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment