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

Side by Side Diff: appengine/findit/model/wf_try_job_data.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
« no previous file with comments | « appengine/findit/model/flake/test/master_flake_analysis_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 model.base_try_job_data import BaseTryJobData 7 from model.base_try_job_data import BaseTryJobData
8 from model.wf_try_job import WfTryJob 8 from model.wf_try_job import WfTryJob
9 9
10 10
(...skipping 25 matching lines...) Expand all
36 def _CreateKey(build_id): # pragma: no cover 36 def _CreateKey(build_id): # pragma: no cover
37 return ndb.Key('WfTryJobData', build_id) 37 return ndb.Key('WfTryJobData', build_id)
38 38
39 @staticmethod 39 @staticmethod
40 def Create(build_id): # pragma: no cover 40 def Create(build_id): # pragma: no cover
41 return WfTryJobData(key=WfTryJobData._CreateKey(build_id)) 41 return WfTryJobData(key=WfTryJobData._CreateKey(build_id))
42 42
43 @staticmethod 43 @staticmethod
44 def Get(build_id): # pragma: no cover 44 def Get(build_id): # pragma: no cover
45 return WfTryJobData._CreateKey(build_id).get() 45 return WfTryJobData._CreateKey(build_id).get()
46
OLDNEW
« no previous file with comments | « appengine/findit/model/flake/test/master_flake_analysis_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698