624f34f942725a8e04390dc4b75b1d6dcff5e603,examples/disable_client.py,,,#,5

Before Change


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

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

with st.echo():

After Change



st.text("This should not appear")

print("doing nothing - part deux")

// // ENABLED
// config.set_option("client.displayEnabled", True)
//
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


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: 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: explosion/thinc
Commit Name: 9228c75443ce33549767e07be5d385b3c80f23a1
Time: 2020-01-16
Author: ines@ines.io
File Name: examples/textcat_from_config.py
Class Name:
Method Name: main