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

Side by Side Diff: appengine/findit/model/flake/flake_culprit.py

Issue 2608853002: [Findit] Adding suspected CL to master flake analysis in preparation for try jobs (Closed)
Patch Set: Addressing comment Created 3 years, 11 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 2017 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 google.appengine.ext import ndb
6
7 from model.base_suspected_cl import BaseSuspectedCL
8
9
10 class FlakeCulprit(BaseSuspectedCL):
11 """Represents information about a culprit CL for flake analysis."""
12
13 # Triage status for whether the CL is correct or not.
14 status = ndb.IntegerProperty(indexed=True, default=None)
15
16 # Url to the code review or change log associated with this change.
17 url = ndb.StringProperty(indexed=False)
18
19 # Arguments number differs from overridden method - pylint: disable=W0221
20 @classmethod
21 def Create(
22 cls, repo_name, revision, commit_position, url): # pragma: no cover
23 instance = super(FlakeCulprit, cls).Create(
24 repo_name, revision, commit_position)
25 instance.url = url
26 return instance
OLDNEW
« no previous file with comments | « appengine/findit/handlers/flake/test/check_flake_test.py ('k') | appengine/findit/model/flake/flake_try_job_data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698