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

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

Issue 2488113005: [Findit] Re-org code. (Closed)
Patch Set: Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 """Findit for Waterfall configuration.""" 5 """Findit for Waterfall configuration."""
6 6
7 from google.appengine.ext import ndb 7 from google.appengine.ext import ndb
8 8
9 from model.versioned_config import VersionedConfig 9 from gae_libs.model.versioned_config import VersionedConfig
10 10
11 11
12 class FinditConfig(VersionedConfig): 12 class FinditConfig(VersionedConfig):
13 """Global configuration of findit.""" 13 """Global configuration of findit."""
14 # Deprecated: A dict mapping supported masters to lists of unsupported steps. 14 # Deprecated: A dict mapping supported masters to lists of unsupported steps.
15 # The previous format of this dict is no longer also be supported, but is 15 # The previous format of this dict is no longer also be supported, but is
16 # instead converted to the new version at runtime if detected. 16 # instead converted to the new version at runtime if detected.
17 # { 17 # {
18 # master_name1: [unsupported_step1, unsupported_step2, ...], 18 # master_name1: [unsupported_step1, unsupported_step2, ...],
19 # master_name2: [...], 19 # master_name2: [...],
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 # { 94 # {
95 # 'lower_flake_threshold': 0.02, 95 # 'lower_flake_threshold': 0.02,
96 # 'upper_flake_threshold': 0.98, 96 # 'upper_flake_threshold': 0.98,
97 # 'max_flake_in_a_row': 4, 97 # 'max_flake_in_a_row': 4,
98 # 'max_stable_in_a_row': 4, 98 # 'max_stable_in_a_row': 4,
99 # 'iterations_to_rerun': 100, 99 # 'iterations_to_rerun': 100,
100 # 'max_build_numbers_to_look_back': 500, 100 # 'max_build_numbers_to_look_back': 500,
101 # 'update_monorail_bug': False, 101 # 'update_monorail_bug': False,
102 # } 102 # }
103 check_flake_settings = ndb.JsonProperty(indexed=False, default={}) 103 check_flake_settings = ndb.JsonProperty(indexed=False, default={})
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698