Skip to content

Conversation

@vdonato
Copy link
Collaborator

@vdonato vdonato commented Apr 11, 2023

📚 Context

We decided that we want a super short way to use st.connection in the case that the user
wants to use a first party connection class and wants to set its name equal to its type.

This PR allows users to write

conn = st.connection("sql")

which ends up being equivalent to

conn = st.connection("sql", type="sql")

@vdonato vdonato requested review from kajarenc and lukasmasuch April 11, 2023 23:07
@vdonato vdonato added the security-assessment-completed Security assessment has been completed for PR label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants