1af9a6677770195239979204904bdc05d706b925,bokeh/io.py,,_show_notebook_with_state,#Any#Any#,323

Before Change


        snippet = autoload_server(obj, session_id=state.session_id_allowing_none, url=state.url, app_path=state.app_path)
        publish_display_data({"text/html": snippet})
    else:
        comms_target = str(uuid.uuid4())
        publish_display_data({"text/html": notebook_div(obj, comms_target)})
        handle = _CommsHandle(get_comms(comms_target), state.document, state.document.to_json())
        state.last_comms_handle = handle
        return handle

After Change


        snippet = autoload_server(obj, session_id=state.session_id_allowing_none, url=state.url, app_path=state.app_path)
        publish_display_data({"text/html": snippet})
    else:
        comms_target = make_id()
        publish_display_data({"text/html": notebook_div(obj, comms_target)})
        handle = _CommsHandle(get_comms(comms_target), state.document, state.document.to_json())
        state.last_comms_handle = handle
        return handle
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: bokeh/bokeh
Commit Name: 1af9a6677770195239979204904bdc05d706b925
Time: 2016-01-22
Author: mattpap@gmail.com
File Name: bokeh/io.py
Class Name:
Method Name: _show_notebook_with_state


Project Name: bokeh/bokeh
Commit Name: 1af9a6677770195239979204904bdc05d706b925
Time: 2016-01-22
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: _standalone_docs_json_and_render_items


Project Name: bokeh/bokeh
Commit Name: 1af9a6677770195239979204904bdc05d706b925
Time: 2016-01-22
Author: mattpap@gmail.com
File Name: bokeh/document.py
Class Name: SessionCallback
Method Name: __init__


Project Name: bokeh/bokeh
Commit Name: 1af9a6677770195239979204904bdc05d706b925
Time: 2016-01-22
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: autoload_server


Project Name: bokeh/bokeh
Commit Name: 1af9a6677770195239979204904bdc05d706b925
Time: 2016-01-22
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: server_html_page_for_session


Project Name: bokeh/bokeh
Commit Name: 1af9a6677770195239979204904bdc05d706b925
Time: 2016-01-22
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: server_html_page_for_models