def get_children_info(brain_or_object, complete=False):
<EOL>children = get_contents(brain_or_object)<EOL>def extract_data(brain_or_object):<EOL><INDENT>return get_info(brain_or_object, complete=complete)<EOL><DEDENT>items = list(map(extract_data, children))<EOL>return {<EOL>"<STR_LIT>": len(items),<EOL>"<STR_LIT>": items<EOL>}<EOL>
Generate data items of the contained contents

    :param brain_or_object: A single catalog brain or content object
    :type brain_or_object: ATContentType/DexterityContentType/CatalogBrain
    :param complete: Flag to wake up the object and fetch all data
    :type complete: bool
    :returns: info mapping of contained content items
    :rtype: list