9fb112bba862a833a5a64b7d1a7c7e75a7a63ba7,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


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

Frequency: 3

Non-data size: 2

Instances


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: PIQuIL/QuCumber
Commit Name: f0a81e2d218aa41b538de5e5cfebcc149f758dc5
Time: 2018-07-20
Author: gtorlai@uwaterloo.ca
File Name: examples/rbm_tutorial.py
Class Name: BinomialRBM
Method Name: fit