New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate allowed-message-origins to host-config endpoint #7342
Migrate allowed-message-origins to host-config endpoint #7342
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…o-host-config-endpoint
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I did a small iteration on this today. I split up This is also relevant for streamlit-lib only uses, since only the |
* Fix python test typing * Migrate allowed origins to host-config endpoint * Fixes * Apply websocket connection changes * Fix tests * Remove host config setter * Make a proper copy * Rename to libconfig * Split into app and lib config * Correctly deconstruct * Update comment * Fix test lib * Fix linting error
* Fix python test typing * Migrate allowed origins to host-config endpoint * Fixes * Apply websocket connection changes * Fix tests * Remove host config setter * Make a proper copy * Rename to libconfig * Split into app and lib config * Correctly deconstruct * Update comment * Fix test lib * Fix linting error
* Fix python test typing * Migrate allowed origins to host-config endpoint * Fixes * Apply websocket connection changes * Fix tests * Remove host config setter * Make a proper copy * Rename to libconfig * Split into app and lib config * Correctly deconstruct * Update comment * Fix test lib * Fix linting error
Describe your changes
This PR renames the
_stcore/allowed-message-origins
endpoint to_stcore/host-config
. This is done in preparation for adding additional configurations that can be provided by the host platform to configure certain frontend aspects.Testing Plan
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.