Alexander Martin

Results 58 comments of Alexander Martin

> Is this streamlit specific? Or a general idea of skipping code in Python Streamlit specific, for sure, just because of how it ties in with `st.exception`

I am. And this is basically that but with a callback to display that an exception happened via st.exception. It's syntactic sugar, but something I use often enough I thought...

@sfc-gh-jcarroll This looks awesome! Definitely going to have some headaches logicking how "global" mutables are affected by these functions -- I imagine it might be similar to how an `on_click`...

And I will add to this, it's probably a good idea to special-case passing `st.query_params` to the new keyword argument such that it goes through the `get_all` pathway instead of...

> Hi all, Streamlit team discussed and we're happy to see this added. > > ```python > st.page_link("pages/settings.py", query_params={"update_pwd": True}) > st.switch_page("pages/dashboard.py", query_params={"team": "streamlit"}) > ``` > > * Ideally...

@MaxvandenBoom I think you found a bug! This is interesting: my suggestion _does_ seem to persist the params across the page change, however the front-end seems to be removing them...

@sfc-gh-jcarroll I am probably gonna need help from someone who knows more TypeScript than I do. I know the URL is getting reset in _this function_ https://github.com/streamlit/streamlit/blob/develop/frontend/app/src/App.tsx#L923 but I am...

Yes, if we fix #9050 then we will want a special kwarg in "switch_page" to carry the params over on the page switch. I still haven't figured out how to...

@arnaudmiribel working on the fixes. I think it makes sense to mention on the Contribution page that Poetry