'Load a list of xmodules from the data in items, with children cached up
to specified depth'

def _load_items(self, course_key, items, depth=0, using_descriptor_system=None, for_parent=None):

    course_key = self.fill_in_run(course_key)
    data_cache = self._cache_children(course_key, items, depth)
    return [self._load_item(course_key, item, data_cache, using_descriptor_system=using_descriptor_system, apply_cached_metadata=self._should_apply_cached_metadata(item, depth), for_parent=for_parent) for item in items]
