9cb3933709e96746005cf63617b741e1e41af496,examples/disable_client.py,,,#,5

Before Change


st.write("This should not appear")
st.line_chart([1, 2, 3, 4])

with st.echo():
    foo = "Nothing matters in here!"
    st.write("Nothing here will appear")

After Change



// DISABLED
config.set_option("client.displayEnabled", False)
print("doing nothing")

st.text("This should not appear")

print("doing nothing - part deux")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: streamlit/streamlit
Commit Name: 9cb3933709e96746005cf63617b741e1e41af496
Time: 2018-11-25
Author: adrien.g.treuille@gmail.com
File Name: examples/disable_client.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: 624f34f942725a8e04390dc4b75b1d6dcff5e603
Time: 2018-11-25
Author: adrien.g.treuille@gmail.com
File Name: examples/disable_client.py
Class Name:
Method Name:


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: cd3e85f75755a2d1f02e03b2d76b74179a64c622
Time: 2016-06-06
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/core/pipeline.py
Class Name:
Method Name: test_full