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

fix profile_dir argument overwritten by legacy dir for DBT < 1.3.0 #651

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

sebaap
Copy link
Contributor

@sebaap sebaap commented Jul 20, 2023

Resolves #645

This PR fixes an issue with the profiles_dir provided in the cli arguments being overwritten for DBT versions < 1.3.0, even though it should take precedence.
This will also cover the case when the DBT_PROFILES_DIR env var is set, as that's handled by click and should come in the profiles_dir_override argument.

@dlawin dlawin self-requested a review July 26, 2023 23:31
@dlawin dlawin added bug Something isn't working --dbt Issues/features related to the dbt integration labels Jul 26, 2023
Copy link
Contributor

@dlawin dlawin left a comment

Choose a reason for hiding this comment

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

thanks for the contribution! @sebaap

@dlawin dlawin self-assigned this Jul 26, 2023
@dlawin dlawin merged commit ea8a6fd into datafold:master Jul 26, 2023
@sebaap sebaap deleted the DATA-489 branch April 18, 2024 09:55
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 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Profiles dir overwritten in the code for DBT version < 1.3.0
2 participants