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

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

Issue 1999653003: [Findit] Bailing out if build data is too old and moving relevant settings to config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments Created 4 years, 7 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
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/model/wf_config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 model.base_build_model import BaseBuildModel 7 from model.base_build_model import BaseBuildModel
8 8
9 9
10 class WfBuild(BaseBuildModel): 10 class WfBuild(BaseBuildModel):
(...skipping 16 matching lines...) Expand all
27 @staticmethod 27 @staticmethod
28 def Get(master_name, builder_name, build_number): # pragma: no cover 28 def Get(master_name, builder_name, build_number): # pragma: no cover
29 return WfBuild._CreateKey(master_name, builder_name, build_number).get() 29 return WfBuild._CreateKey(master_name, builder_name, build_number).get()
30 30
31 data = ndb.JsonProperty(indexed=False, compressed=True) 31 data = ndb.JsonProperty(indexed=False, compressed=True)
32 last_crawled_time = ndb.DateTimeProperty(indexed=False) 32 last_crawled_time = ndb.DateTimeProperty(indexed=False)
33 33
34 start_time = ndb.DateTimeProperty(indexed=False) 34 start_time = ndb.DateTimeProperty(indexed=False)
35 completed = ndb.BooleanProperty(default=False, indexed=False) 35 completed = ndb.BooleanProperty(default=False, indexed=False)
36 result = ndb.IntegerProperty(indexed=False) 36 result = ndb.IntegerProperty(indexed=False)
37 data_source = ndb.StringProperty(indexed=False)
OLDNEW
« no previous file with comments | « appengine/findit/handlers/test/config_test.py ('k') | appengine/findit/model/wf_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698