Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Thanks for contributing to Streamlit! 🎈 Please make sure you have read our Contributing Guide. You can find additional information about Streamlit development in the wiki. The review process:
We're receiving many contributions and have limited review bandwidth — please expect some delay. We appreciate your patience! 🙏 |
There was a problem hiding this comment.
Pull request overview
This PR updates widget docstrings to improve completeness and consistency, primarily for st.menu_button, and makes a small wording cleanup in the st.radio docstring.
Changes:
- Expanded
st.menu_buttondocstring to better explain trigger behavior vs.st.button/st.selectbox. - Clarified
keysemantics forst.menu_buttonand documented"spinner"as a valid icon option. - Removed redundant wording in the
st.radiooptions documentation.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
lib/streamlit/elements/widgets/radio.py |
Minor docstring cleanup to remove redundant phrasing in the options description. |
lib/streamlit/elements/widgets/menu_button.py |
Docstring updates describing menu-button trigger behavior, expanded key documentation, and documented "spinner" as an icon option. |
Describe your changes
st.buttonkeyContribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.