(self)
return jsonify(graphs)
Handles GET request to the resource.

        Returns:
            List of graphs in JSON (instance of flask.wrappers.Response)
Handles GET request to the resource.
Handles GET request to the resource .
def get(self):
        """Handles GET request to the resource.

        Returns:
            List of graphs in JSON (instance of flask.wrappers.Response)
        """
        graph_plugins = manager.GraphManager.get_graphs()
        graphs = []
        for name, graph_class in graph_plugins:
            graph_plugin = {
                'name': name,
                'display_name': graph_class.DISPLAY_NAME,
                'description': graph_class.DESCRIPTION
            }
            graphs.append(graph_plugin)

        return jsonify(graphs)
def get ( self ) : graph_plugins = manager . GraphManager . get_graphs ( ) graphs = [ ] for name , graph_class in graph_plugins : graph_plugin = { 'name' : name , 'display_name' : graph_class . DISPLAY_NAME , 'description' : graph_class . DESCRIPTION } graphs . append ( graph_plugin ) return jsonify ( graphs )