(self, sketch_id)
return analyzers_detail
Handles GET request to the resource.

        Returns:
            A list of all available analyzer names.
Handles GET request to the resource.
Handles GET request to the resource .
def get(self, sketch_id):
        """Handles GET request to the resource.

        Returns:
            A list of all available analyzer names.
        """
        sketch = Sketch.query.get_with_acl(sketch_id)
        if not sketch:
            abort(
                HTTP_STATUS_CODE_NOT_FOUND, 'No sketch found with this ID.')
        if not sketch.has_permission(current_user, 'read'):
            abort(
                HTTP_STATUS_CODE_FORBIDDEN,
                'User does not have read access to sketch')
        analyzers = [
            x for x, y in analyzer_manager.AnalysisManager.get_analyzers()]

        analyzers = analyzer_manager.AnalysisManager.get_analyzers()
        analyzers_detail = []
        for analyzer_name, analyzer_class in analyzers:
            analyzers_detail.append({
                'name': analyzer_name,
                'display_name': analyzer_class.DISPLAY_NAME,
                'description': analyzer_class.DESCRIPTION
            })


        return analyzers_detail
def get ( self , sketch_id ) : sketch = Sketch . query . get_with_acl ( sketch_id ) if not sketch : abort ( HTTP_STATUS_CODE_NOT_FOUND , 'No sketch found with this ID.' ) if not sketch . has_permission ( current_user , 'read' ) : abort ( HTTP_STATUS_CODE_FORBIDDEN , 'User does not have read access to sketch' ) analyzers = [ x for x , y in analyzer_manager . AnalysisManager . get_analyzers ( ) ] analyzers = analyzer_manager . AnalysisManager . get_analyzers ( ) analyzers_detail = [ ] for analyzer_name , analyzer_class in analyzers : analyzers_detail . append ( { 'name' : analyzer_name , 'display_name' : analyzer_class . DISPLAY_NAME , 'description' : analyzer_class . DESCRIPTION } ) return analyzers_detail