Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(928)

Side by Side Diff: appengine/findit/handlers/flake/flake_dashboard.py

Issue 2195473002: [Findit] Dashboards and graph for regression range (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: addressed comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from common.base_handler import BaseHandler
6 from common.base_handler import Permission
7 from model.flake.master_flake_analysis import MasterFlakeAnalysis
8
9
10 class FlakeDashboard(BaseHandler):
11 PERMISSION_LEVEL = Permission.CORP_USER
12
13 def HandleGet(self):
14 master_flake_analyses = MasterFlakeAnalysis.query().fetch()
15 data = {
16 'master_flake_analyses': master_flake_analyses
17 }
18 return {
19 'template': 'flake/dashboard.html',
20 'data': data
21 }
OLDNEW
« no previous file with comments | « appengine/findit/handlers/flake/check_flake.py ('k') | appengine/findit/handlers/flake/test/check_flake_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698