e37db3d9eb48883f399bfced420dfd89f53649df,examples/disable_client.py,,,#,5

Before Change



st.text("This should not appear")

print("doing nothing - part deux")

// // ENABLED
// config.set_option("client.displayEnabled", True)
//

After Change


st.text("This should not appear")

// ENABLED
config.set_option("client.displayEnabled", True)

a = st.text("This will be overwritten")
b = st.text("This will be overwritten too")
a.text("This should show up first")

// 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])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: e37db3d9eb48883f399bfced420dfd89f53649df
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: 9fb112bba862a833a5a64b7d1a7c7e75a7a63ba7
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: e37db3d9eb48883f399bfced420dfd89f53649df
Time: 2018-11-25
Author: adrien.g.treuille@gmail.com
File Name: examples/disable_client.py
Class Name:
Method Name:


Project Name: WZBSocialScienceCenter/tmtoolkit
Commit Name: 9aa05168fbd8c188c32974d51ee7057e4b5f2e65
Time: 2019-03-22
Author: markus.konrad@wzb.eu
File Name: examples/preproc_gen_dtm_en.py
Class Name:
Method Name: