2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f,bokeh/client/connection.py,ClientConnection,_wait_for_ack,#ClientConnection#,375

Before Change


        message = yield self._pop_message()
        if message and message.msgtype == "ACK":
            log.debug("Received %r", message)
            yield self._transition(CONNECTED_AFTER_ACK())
        elif message is None:
            yield self._transition_to_disconnected()
        else:
            raise ProtocolError("Received %r instead of ACK" % message)

After Change


        message = await self._pop_message()
        if message and message.msgtype == "ACK":
            log.debug("Received %r", message)
            await self._transition(CONNECTED_AFTER_ACK())
        elif message is None:
            await self._transition_to_disconnected()
        else:
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/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: _transition_to_disconnected


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


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