Click events in streamlit

After reading the recent streamlit docs, I’m here to know more about how to return the value of a streamlit call.(as mentioned by you in recent docs on pg no. 49 :sweat_smile: )

Hi @AbhiD, welcome to the Streamlit community!

Can you be more specific about β€œpage 49”? What document are you looking at?

https://docs.streamlit.io/_/downloads/en/latest/pdf/

Page number 49
β€œ16.5 Return the value of a Streamlit call”

1 Like

I asked around internally, this just looks like a really old statement that should’ve been removed a long time ago.

Streamlit functions that return data back to Python are saved into Python variables, like any other Python function call. This is covered here and elsewhere in the Streamlit documentation: