9d7ba96b4b1112b45b383714c2484eda08b0506a,bokeh/io.py,,_show_notebook_with_state,#Any#Any#,275
Before Change
if state.last_comms:
state.last_comms.close()
state.last_pushed_doc = state.document
state.last_pushed_json = state.document.to_json()
state.last_comms = get_comms(comms_target)
def _show_server_with_state(obj, state, new, controller):
push(state=state)
After Change
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
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: bokeh/bokeh
Commit Name: 9d7ba96b4b1112b45b383714c2484eda08b0506a
Time: 2015-12-29
Author: bryanv@continuum.io
File Name: bokeh/io.py
Class Name:
Method Name: _show_notebook_with_state
Project Name: sigopt/sigopt-sklearn
Commit Name: b231d5356a7d9ee8cedc16ec8dfd010ea8b280ce
Time: 2016-11-04
Author: sam@sigopt.com
File Name: sigopt_sklearn/search.py
Class Name: SigOptSearchCV
Method Name: _fit
Project Name: albermax/innvestigate
Commit Name: a68781038878ab7a2034b6cf85dbf2e5e53b8ea0
Time: 2018-03-04
Author: ¨work.alber.maximilian@gmail.com¨
File Name: innvestigate/analyzer/base.py
Class Name: AnalyzerBase
Method Name: _get_state
Project Name: tensorflow/datasets
Commit Name: 83218b7cb41cbcd3b4800313ecd8fe33b846205a
Time: 2020-08-07
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/core/features/sequence_feature.py
Class Name: Sequence
Method Name: to_json_content