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

Side by Side Diff: appengine/findit/model/base_triaged_model.py

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: . Created 4 years 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
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from google.appengine.ext import ndb 5 from google.appengine.ext import ndb
6 6
7 from common import appengine_util 7 from common import appengine_util
8 from lib import time_util 8 from libs import time_util
9 from model import triage_status 9 from model import triage_status
10 10
11 11
12 class TriageResult(ndb.Model): 12 class TriageResult(ndb.Model):
13 # The user who updated this result. 13 # The user who updated this result.
14 user_name = ndb.StringProperty(default=None, indexed=False) 14 user_name = ndb.StringProperty(default=None, indexed=False)
15 15
16 # The time this triage result was determined. 16 # The time this triage result was determined.
17 triaged_time = ndb.DateTimeProperty(indexed=False, auto_now=True) 17 triaged_time = ndb.DateTimeProperty(indexed=False, auto_now=True)
18 18
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 triage_record.triage_result)), 60 triage_record.triage_result)),
61 'findit_version': triage_record.findit_version, 61 'findit_version': triage_record.findit_version,
62 'version_number': triage_record.version_number 62 'version_number': triage_record.version_number
63 }) 63 })
64 64
65 return triage_history 65 return triage_history
66 66
67 # Record the triage result history. 67 # Record the triage result history.
68 triage_history = ndb.LocalStructuredProperty( 68 triage_history = ndb.LocalStructuredProperty(
69 TriageResult, repeated=True, indexed=False, compressed=True) 69 TriageResult, repeated=True, indexed=False, compressed=True)
OLDNEW
« no previous file with comments | « appengine/findit/model/base_suspected_cl.py ('k') | appengine/findit/model/suspected_cl_confidence.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698