| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 assert False | 698 assert False |
| 699 | 699 |
| 700 def as_jsonish(self, _include_hidden=None): | 700 def as_jsonish(self, _include_hidden=None): |
| 701 return self.data | 701 return self.data |
| 702 | 702 |
| 703 def reset(self): | 703 def reset(self): |
| 704 assert False | 704 assert False |
| 705 | 705 |
| 706 def complete(self): | 706 def complete(self): |
| 707 return True | 707 return True |
| OLD | NEW |