#NEWLINE# def inject_list_of_plugins( self , attributes , cluster ) : #NEWLINE# #INDENT# 'Added information about plugins to serialized attributes.\n\n        :param attributes: the serialized attributes\n        :param cluster: the cluster object\n        ' #NEWLINE# plugins = objects . ClusterPlugins . get_enabled ( cluster . id ) #NEWLINE# attributes [ 'plugins' ] = [ self . serialize_plugin ( cluster , p ) for p in plugins ]