In working on module-noaa-stations, I/we misspelled "resource" in data_base section. The produced traceback is not informative.
Validations should include, I think:
- Informative message if YAML itself is misformed
- Use of any names that are not consistent with either built-in names (like "resource") or superclass definitions. E.g. how would this fail:
command_base:
station_base:
mixins: [stationWRONG]
Some informative message about the needed consistency would aid module developers
- Check data types within YAML config files. What is a nested dict, what must be a list, what must be a scalar value, etc. YAML doesn't enforce that (by design), but Zimagi requires narrower rules. Messages should describe those kinds of problems.
In working on module-noaa-stations, I/we misspelled "resource" in
data_basesection. The produced traceback is not informative.Validations should include, I think:
Some informative message about the needed consistency would aid module developers