2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f,bokeh/client/states.py,WAITING_FOR_REPLY,run,#WAITING_FOR_REPLY#Any#,108

Before Change


    def run(self, connection):
        message = yield connection._pop_message()
        if message is None:
            yield connection._transition_to_disconnected()
        elif "reqid" in message.header and message.header["reqid"] == self.reqid:
            self._reply = message
            yield connection._transition(CONNECTED_AFTER_ACK())
        else:

After Change


    async def run(self, connection):
        message = await connection._pop_message()
        if message is None:
            return await connection._transition_to_disconnected()
        elif "reqid" in message.header and message.header["reqid"] == self.reqid:
            self._reply = message
            return await connection._transition(CONNECTED_AFTER_ACK())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: bokeh/client/states.py
Class Name: WAITING_FOR_REPLY
Method Name: run


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: bokeh/client/connection.py
Class Name: ClientConnection
Method Name: _handle_messages


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: bokeh/client/connection.py
Class Name: ClientConnection
Method Name: _wait_for_ack


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: bokeh/client/connection.py
Class Name: ClientConnection
Method Name: _connect_async