2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f,bokeh/client/connection.py,ClientConnection,_transition,#ClientConnection#Any#,364
Before Change
def _transition(self, new_state):
log.debug("transitioning to state " + new_state.__class__.__name__)
self._state = new_state
yield self._next()
@gen.coroutine
def _transition_to_disconnected(self):
self._tell_session_about_disconnect()
After Change
async def _transition(self, new_state):
log.debug("transitioning to state " + new_state.__class__.__name__)
self._state = new_state
await self._next()
async def _transition_to_disconnected(self):
self._tell_session_about_disconnect()
In pattern: SUPERPATTERN
Frequency: 3
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: _transition
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