Comments (4)
@sfc-gh-jcarroll I believe you are working on some awesome solutions to solve those problems eventually , but the problem is when. I don't think I am lucky enough that some 2019 issues will be resolved in the next few weeks.
Thus I guess provide an experimental API as a transitional solution should not be bad. I think it's nothing to worry about the Tornado compatibility issue, once you have custom HTTP endpoint implemented it won't be hard for app developers to migrate to the new one and deprecate the broken feature.
I believe it will be good to provide some low level APIs so that a developer can use them to solve issues when there is no better way to choose. It's all up to you to decide anyway,
from streamlit.
Thanks @link89
It's unlikely that we'll directly support using the Tornado instance since we've intentionally avoided exposing Tornado internals since early Streamlit. We're also beginning to look at moving Streamlit to an ASGI framework in the not too distant future (you heard it here first! 😉) so that would break any Tornado compatibility.
We're actively working right now on auth use cases similar to the one you described, see #8518
We're also doing some planning and design on custom HTTP endpoints similar to what you described in a more general way, along the lines of what I described here.
In general today, most developers use the undocumented-but-supported headers API for similar use cases. We will likely add a fully-documented-and-supported version of that in the near future.
I'm sure it's not quite the answer you hoped for, but that's the current state and we are definitely putting more energy in this direction than we have historically.
from streamlit.
To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.
Your vote helps us identify which enhancements matter most to our users.
from streamlit.
@kajarenc @sfc-gh-jcarroll FYI -- we may want to consider doing something like this (or accepting #8662, potentially making some changes to it to export it from any new namespace we may add) as part of the auth/headers projects.
from streamlit.
Related Issues (20)
- `st.code` ignores language argument if set to 'diff' HOT 2
- Commas can't be removed from numbers in `st.dataframe` HOT 1
- https://ssg-sea.streamlit.app/ does not extract any skills. HOT 3
- KeyError (only in terminal) when accessing session_state key in a multipage app HOT 4
- Unify dropdown styles for `st.selectbox`, `st.multiselect`, and `st.date_input` HOT 1
- `st.time_input` has different height than other elements HOT 2
- Set sidebar min-width to prevent `st.logo` from hiding the X to close it HOT 1
- mypy strict: error: Module "streamlit" does not explicitly export attribute "experimental_dialog" [attr-defined] (among others) HOT 2
- Custom 404 / Error Page / Maintenance Page that is displayed whenever a bug is pushed or the app encounters and issue on boot HOT 1
- Update error message to show dataframes and charts (when used as widgets) can't be assigned values through Session State HOT 1
- st.selectbox could be typed so that it always returns T unless the index is None (etc) HOT 3
- Button Clicks Ignored (WHEN TEXTAREA HAS FOCUS) HOT 9
- Incomplete shortcodes disappear HOT 9
- Update to support protocol buffer above version 5.0 HOT 3
- button should be able to contain image HOT 2
- doesnt work HOT 2
- Streamlit unnecessarily runs the file watcher against every path in imported modules, even when watching is disabled HOT 5
- `st.experimental_dialog` feels a bit laggy when closing HOT 1
- Add Support for Hover-over Tooltips without Input Widgets HOT 2
- disabled_chat_input feature not working correctly last version of Streamlit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit.