2d4265f2422ae44a1c7d50f28530dcc8393f1761,rasa_core/events/__init__.py,ReminderScheduled,__hash__,#ReminderScheduled#,471

Before Change


        super(ReminderScheduled, self).__init__(timestamp)

    def __hash__(self):
        return hash(self.name)

    def __eq__(self, other):
        if not isinstance(other, ReminderScheduled):
            return False

After Change


        super(ReminderScheduled, self).__init__(timestamp)

    def __hash__(self):
        return hash((self.action_name, self.trigger_date_time.isoformat(),
                     self.kill_on_user_message, self.name))

    def __eq__(self, other):
        if not isinstance(other, ReminderScheduled):
            return False
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: RasaHQ/rasa
Commit Name: 2d4265f2422ae44a1c7d50f28530dcc8393f1761
Time: 2018-08-28
Author: tom@rasa.com
File Name: rasa_core/events/__init__.py
Class Name: ReminderScheduled
Method Name: __hash__


Project Name: RasaHQ/rasa
Commit Name: 8591a72d36d46a9ba41f8ed0bc4a728ebf6c7132
Time: 2018-08-28
Author: tom@rasa.com
File Name: rasa_core/events/__init__.py
Class Name: ReminderScheduled
Method Name: __hash__


Project Name: hyperspy/hyperspy
Commit Name: d9126dac9355abaf922b962bfdd5368a177545fd
Time: 2016-09-05
Author: eric.prestat@gmail.com
File Name: hyperspy/io_plugins/blockfile.py
Class Name:
Method Name: _from_serial_date