-
- Downloads
Allow override_dict to delete keys
This is achieved by defining a special class, DELETE_KEY, that cannot be instantiated and whose only purpose is to identify keys that should be deleted from the original dictionary. Note that scenarios defined in TOML files cannot use this feature unless we implement a value-substitution step when loading scenario definitions that replaces an arbitrary "magic string" (e.g., "DELETE_KEY") with the DELETE_KEY class --- and I do not intend to implement such a feature. It would mean, among other things, that scenario files would no longer be pure TOML.
Please register or sign in to comment