streamlit / docs

Source code for the Streamlit Python library documentation
https://docs.streamlit.io
Apache License 2.0
119 stars 474 forks source link

Add get_option, set_option #1082

Closed sfc-gh-dmatthews closed 5 months ago

sfc-gh-dmatthews commented 5 months ago

📚 Context

st.get_option and st.set_option have existed in the library years. Although they were mentioned in the docs and in an error message, they weren't included in the API reference.

🧠 Description of Changes

This PR adds these functions to the API reference.

Contribution License Agreement By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

sfc-gh-dmatthews commented 5 months ago

I will add edits to these docstrings for release 1.36.0 to beautify them a bit.