Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 from recipe_engine.config import config_item_context | |
|
Vadim Sh.
2015/06/29 21:00:46
I personally don't understand how this config stuf
seanmccullough
2015/06/30 17:39:39
IIRC iannucci@ suggested this approach. I'm fine
Vadim Sh.
2015/06/30 17:58:35
Yeah, let's keep it simple for now and add it late
seanmccullough
2015/06/30 19:12:03
Done.
| |
| 2 from recipe_engine.config import ConfigGroup | |
| 3 from recipe_engine.config import Dict | |
| 4 | |
| 5 def BaseConfig(**_kwargs): | |
| 6 # This never gets called. | |
| 7 return ConfigGroup( | |
| 8 packages = Dict(value_type=dict), | |
| 9 ) | |
| 10 | |
| 11 config_ctx = config_item_context(BaseConfig) | |
| 12 | |
| OLD | NEW |