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")

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

st.write("This should appear last")
b.text("This should appear second")

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: 4

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: 23a69fa7acef64e44f19b10974212f7c8c978e7d
Time: 2018-04-05
Author: adrien.g.treuille@gmail.com
File Name: examples/new.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: