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

Before Change



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

st.text("This should not appear")

print("doing nothing - part deux")

After Change


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():
    foo = "Nothing matters in here!"
    st.write("Nothing here will appear")

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

st.write("This should appear last")
b.text("This should appear second")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: 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: e206973444a488dd75e420f8550a41ed61864ba8
Time: 2019-08-13
Author: erik.hopf@gmail.com
File Name: docs/api-examples-source/widget.slider.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: