found in
|
self.checkups[source].pop(key, None) |
Instead of simply popping the key and individually updating the dictionary with the keys and values of the event, the dictionary should be updated with the event dictionary by using .update.
Additionally, the code which individually updates the dictionary with the keys and values of the event is not present.