Skip to content

Conversation

@vdonato
Copy link
Collaborator

@vdonato vdonato commented Apr 5, 2023

NOTE: This is being targeted to the vdonato/rework-api branch for now to make the diff show up nicely.
We'll be merging #6436 first, at which point we'll retarget this PR to feature/st.experimental_connection.

📚 Context

This is a small PR to tweak some names related to the upcoming st.experimental_connection feature.
We make the following changes:

  • Prefixed all methods meant to be used by the connection author with an underscore.
  • Renamed get_secrets() -> _secrets and made it a property
  • Renamed BaseConnection -> ExperimentalBaseConnection

@vdonato vdonato added the security-assessment-completed Security assessment has been completed for PR label Apr 5, 2023
Comment on lines -14 to -16
Copy link
Collaborator Author

@vdonato vdonato Apr 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how this ended up being added here (this is the test module and not the actual connections code) -- must have just done so accidentally

@vdonato vdonato force-pushed the vdonato/misc-tweaks-omnibus branch from a8cb2d3 to 317c82a Compare April 6, 2023 21:32
Base automatically changed from vdonato/rework-api to feature/st.experimental_connection April 6, 2023 21:55
@vdonato vdonato force-pushed the feature/st.experimental_connection branch from b585d4d to 9fa93ea Compare April 6, 2023 21:56
@vdonato vdonato force-pushed the vdonato/misc-tweaks-omnibus branch from 317c82a to 6a54e39 Compare April 6, 2023 21:57
@vdonato vdonato merged this pull request into feature/st.experimental_connection Apr 6, 2023
@vdonato vdonato deleted the vdonato/misc-tweaks-omnibus branch April 6, 2023 22:24
vdonato added a commit that referenced this pull request Apr 6, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 10, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 11, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 15, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 17, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 19, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 20, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
vdonato added a commit that referenced this pull request Apr 21, 2023
* Prefix a bunch of our BaseConnection methods with an underscore

* Add underscore in front of get_secrets

* Rename _get_secrets() -> _secrets and make it a @Property

* Tweak some st.experimental_connection-related names
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