Skip to content

Make create_connection use dotenv and google colab secrets - #495

Merged
bovlb merged 5 commits into
developfrom
create-connector-colab
Oct 2, 2024
Merged

bovlb merged 5 commits into
developfrom
create-connector-colab

Conversation

@bovlb

@bovlb bovlb commented Oct 2, 2024

Copy link
Copy Markdown
Contributor

This changes the behaviour of create_connector so that it can create a connection using a JSON object. This object can come from one of three sources:

  • Environment variable called APERTUREDB_JSON
  • .env file entry called APERTUREDB_JSON
  • Google Colab secret called called APERTUREDB_JSON

@bovlb
bovlb requested a review from gsaluja9 October 2, 2024 02:20

@gsaluja9 gsaluja9 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks.
I see that walrus operator could be used at a bunch of other places in the SDK too.

Another thing is that in our CI testing, we do not use the create_connector at all. I remember that you mentioned we could do that for fixtures too. Would now be a good time to change that? I'd love to discuss the approach you had in mind.

@bovlb
bovlb merged commit 73cbd90 into develop Oct 2, 2024
@bovlb
bovlb deleted the create-connector-colab branch October 2, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants