Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[BUG] target-path config in dbt_project.yaml is deprecated #421

Copy link
Copy link
@famazak

Description

@famazak
Issue body actions

dbt has deprecated the target-path configuration option in dbt_project.yaml in favor of a runtime configuration/environment variable (see dbt-labs/dbt-core#6882) for more detail. The target-path option will be removed in a future dbt version.

When running a dbt project with target-path removed from dbt_project.yaml, the re_data overview command fails with a KeyError from the below line.

project_dict['target-path']

To support dbt's deprecation, the above line should be changed to use the safer dictionary key retrieval method dict.get() so that a default value can be provided with dbt's default target path for backward compatability.

Filing this issue for visibility for now - I'm happy to work on this when I have some spare time

aroder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.