

def notify(self, actor, action, message):
    if (actor in message.messages.keys()):
        self.messages[actor].append({
            'action': action,
            'message': message,
        })
    else:
        self.messages[actor] = [{
            'action': action,
            'message': message,
        }]

dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/driver/observer/accumulativeObserver.py AccumulativeObserver.notify/VarMisuse@20/21 `self`->`message`