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 )
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”
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: