-
Notifications
You must be signed in to change notification settings - Fork 4k
Misc st.experimental_connection fixes omnibus #6523
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
Misc st.experimental_connection fixes omnibus #6523
Conversation
c35b223 to
ee35111
Compare
ee35111 to
d8aaa3e
Compare
lukasmasuch
left a comment
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 👍
| ) | ||
| @cache_data(ttl=ttl) | ||
| @cache_data( | ||
| show_spinner="Running `SQL.query(...)`.", |
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.
nit: maybe sql.query(...) would be slightly better here since it's more likely to be something called on an instance, and the lowercase version also corresponds better to the connection name.
* Add missing default arg * Error when tenacity is not installed on connection creation * Add more missing module -> PyPI package mappings * Change spinner messages for .query() methods to hide internals * Complain more clearly if no SQL connection params at all are set * Support named snowsql config file sections * Remove unneeded f-string * Raise exception when no Snowpark config is set * Use correct mysql PyPI package name * Make query method spinner messages lowercase
* Add missing default arg * Error when tenacity is not installed on connection creation * Add more missing module -> PyPI package mappings * Change spinner messages for .query() methods to hide internals * Complain more clearly if no SQL connection params at all are set * Support named snowsql config file sections * Remove unneeded f-string * Raise exception when no Snowpark config is set * Use correct mysql PyPI package name * Make query method spinner messages lowercase
There's a bunch of tiny fixes that came out of testing
st.experimental_connectionthatare small enough that it's not worth the overhead of making individual PRs for.
This PR batches these changes. Note it's easiest to review this commit-by-commit.