Class: ConflictManager | ./src/peak/util/ConflictManager.py | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Manage potentially-conflicting settings from multiple sourcesUsage:: cm = ConflictManager() # This keeps the "most-specific" data (shortest non-conflicting path) # or raises an error if a conflicting setting is made cm[key] = path, setting for setting in cm.values(): # process setting Keys can be any hashable value. At any time, the current settings can be read back out via the
|