def _course_outline_json(request, course_module):
 return create_xblock_info(course_module, include_child_info=True, course_outline=True, include_children_predicate=(lambda xblock: (not (xblock.category == 'vertical'))), user=request.user)

def _course_outline_json ( request , course_module ) : return create_xblock_info ( course_module , include_child_info = True , course_outline = True , include_children_predicate = ( lambda xblock : ( not ( xblock . category == 'vertical' ) ) ) , user = request . user )
returns a json representation of the course module and recursively all of its children .