| Index: appengine/swarming/server/task_result.py
|
| diff --git a/appengine/swarming/server/task_result.py b/appengine/swarming/server/task_result.py
|
| index ee5352b59de4a12bc8dec21f743ea0c6cad2d350..b905db0cb14a90cdc7ef7c361d44232f105af5cd 100644
|
| --- a/appengine/swarming/server/task_result.py
|
| +++ b/appengine/swarming/server/task_result.py
|
| @@ -849,6 +849,21 @@ class TaskResultSummary(_TaskResultCommon):
|
| return out
|
|
|
|
|
| +class TagValues(ndb.Model):
|
| + tag = ndb.StringProperty()
|
| + values = ndb.StringProperty(repeated=True)
|
| +
|
| +
|
| +class TagAggregation(ndb.Model):
|
| + """Has all dimensions that are currently in use."""
|
| + tags = ndb.LocalStructuredProperty(TagValues, repeated=True)
|
| +
|
| + ts = ndb.DateTimeProperty()
|
| +
|
| + # We only store one of these entities. Use this key to refer to any instance.
|
| + KEY = ndb.Key('TagAggregation', 'current')
|
| +
|
| +
|
| ### Private stuff.
|
|
|
|
|
|
|