Return the current value of a given Streamlit config option.

Run streamlit config show in the terminal to see all available options.

Function signature[source]

st.get_option(key)

Parameters

key (str)

The config option key of the form "section.optionName". To see all available options, run streamlit config show on a terminal.

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.