OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 """Recipe Configuration Meta DSL. | 5 """Recipe Configuration Meta DSL. |
6 | 6 |
7 This module contains, essentially, a DSL for writing composable configurations. | 7 This module contains, essentially, a DSL for writing composable configurations. |
8 You start by defining a schema which describes how your configuration blobs will | 8 You start by defining a schema which describes how your configuration blobs will |
9 be structured, and what data they can contain. For example: | 9 be structured, and what data they can contain. For example: |
10 | 10 |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 return self.data | 753 return self.data |
754 | 754 |
755 def reset(self): | 755 def reset(self): |
756 assert False | 756 assert False |
757 | 757 |
758 def complete(self): | 758 def complete(self): |
759 return True | 759 return True |
760 | 760 |
761 def _is_default(self): | 761 def _is_default(self): |
762 return True | 762 return True |
OLD | NEW |