513f6337acc9722c55c4247faba0491806da8bfe,docs/api-examples-source/widget.button.py,,,#,3
Before Change
import streamlit as st
with st.echo():
say_hello = st.button("Click me")
if say_hello:
st.write("Why hello there")
After Change
import streamlit as st
if st.button("Say hello"):
st.write("Why hello there")
else:
st.write("Goodbye")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: streamlit/streamlit
Commit Name: 513f6337acc9722c55c4247faba0491806da8bfe
Time: 2019-08-28
Author: thiago@streamlit.io
File Name: docs/api-examples-source/widget.button.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.radio.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.checkbox.py
Class Name:
Method Name: