| OLD | NEW |
| 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 from model.build_analysis_status import BuildAnalysisStatus | 8 from model.build_analysis_status import BuildAnalysisStatus |
| 9 | 9 |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 # Information of the analyzed build. | 39 # Information of the analyzed build. |
| 40 build_start_time = ndb.DateTimeProperty(indexed=True) | 40 build_start_time = ndb.DateTimeProperty(indexed=True) |
| 41 | 41 |
| 42 # Information of analysis processing. | 42 # Information of analysis processing. |
| 43 pipeline_url = ndb.StringProperty(indexed=False) | 43 pipeline_url = ndb.StringProperty(indexed=False) |
| 44 status = ndb.IntegerProperty( | 44 status = ndb.IntegerProperty( |
| 45 default=BuildAnalysisStatus.PENDING, indexed=False) | 45 default=BuildAnalysisStatus.PENDING, indexed=False) |
| 46 start_time = ndb.DateTimeProperty(indexed=False) | 46 start_time = ndb.DateTimeProperty(indexed=False) |
| 47 updated_time = ndb.DateTimeProperty(indexed=False) | 47 updated_time = ndb.DateTimeProperty(indexed=False) |
| 48 |
| 49 # Analysis result. |
| 50 result = ndb.JsonProperty(indexed=False, compressed=True) |
| OLD | NEW |