traitlets
traitlets copied to clipboard
In hold_trait_notifications, don't assume `change` is a Bunch
If a change is submitted directly with HasTraits.notify_change, _notify_observers (which handles turning a dict to a Bunch) has been replaced with hold, which needs to be prepared for plain dicts.