def collect_addon_assets(node):
 return {'tree_js': list(collect_addon_js(node)), 'tree_css': list(collect_addon_css(node))}

def collect_addon_assets ( node ) : return { 'tree_js' : list ( collect_addon_js ( node ) ) , 'tree_css' : list ( collect_addon_css ( node ) ) }
return a dictionary containing lists of js and css assets for a nodes addons .