Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Datafold database credentials from cli #466

Merged
merged 27 commits into from
Apr 11, 2023

Conversation

pik94
Copy link
Contributor

@pik94 pik94 commented Mar 30, 2023

Add functions to create a new data source via the data diff CLI

  1. Create a new data source if it does not exist neither in the datafold cloud nor in the dbt_project.yml
    Screencast from 30.03.2023 17:58:04.webm

  2. Use an existing data source in the cloud if it is not set in dbt_project.yml
    Screencast from 30.03.2023 18:11:30.webm

@pik94 pik94 added enhancement New feature or request cloud Issues related to data-diff <> Datafold Cloud interaction --dbt Issues/features related to the dbt integration labels Mar 30, 2023
@pik94 pik94 self-assigned this Mar 30, 2023
@pik94 pik94 force-pushed the datafold-database-credentials-from-cli branch 2 times, most recently from 503f576 to af8105f Compare March 30, 2023 11:38
@pik94 pik94 marked this pull request as ready for review March 30, 2023 12:00
@williebsweet
Copy link
Contributor

@pik94 Can you address the conflicts that were created and re-request review?

@pik94 pik94 force-pushed the datafold-database-credentials-from-cli branch from 616d92f to c855e25 Compare April 5, 2023 10:24
@pik94
Copy link
Contributor Author

pik94 commented Apr 5, 2023

@pik94 Can you address the conflicts that were created and re-request review?

@williebsweet sure, i have updated my PR

@williebsweet
Copy link
Contributor

@dlawin Can you review?

@dlawin
Copy link
Contributor

dlawin commented Apr 5, 2023

It's unclear at first that the values in blue parentheses are defaults:
Screenshot 2023-04-05 at 4 11 33 PM

Adding a line at the top with an instruction like:
Press enter to accept the (Default value) would help

@dlawin
Copy link
Contributor

dlawin commented Apr 5, 2023

It's unclear at first that the values in blue parentheses are defaults: Screenshot 2023-04-05 at 4 11 33 PM

Adding a line at the top with an instruction like: Press enter to accept the (Default value) would help

also note I was able to leave Host blank, which passed a None to the post

@pik94
Copy link
Contributor Author

pik94 commented Apr 6, 2023

It's unclear at first that the values in blue parentheses are defaults: Screenshot 2023-04-05 at 4 11 33 PM
Adding a line at the top with an instruction like: Press enter to accept the (Default value) would help

also note I was able to leave Host blank, which passed a None to the post

@dlawin good catch, thank you very much! I have added validation for fields without non-default values.

@pik94 pik94 force-pushed the datafold-database-credentials-from-cli branch from d7d29a7 to ab11c95 Compare April 6, 2023 18:33
@pik94 pik94 requested review from dlawin and nolar April 6, 2023 18:33
@pik94 pik94 force-pushed the datafold-database-credentials-from-cli branch from ab11c95 to 67b8b70 Compare April 7, 2023 10:23
@pik94 pik94 requested a review from dlawin April 10, 2023 08:48
@pik94 pik94 merged commit 8d1fb40 into datafold:master Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
--dbt Issues/features related to the dbt integration cloud Issues related to data-diff <> Datafold Cloud interaction enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants