-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the arg dbt_project_path
set in the ProjectConfig
init optional
#569
Labels
good first issue
Good for newcomers
Milestone
Comments
tatiana
changed the title
Make
Make the argument Sep 29, 2023
ProjectConfig.dbt_project_path
optional dbt_project_path
set in the ProjectConfig
initialization optional
tatiana
changed the title
Make the argument
Make the argument Sep 29, 2023
dbt_project_path
set in the ProjectConfig
initialization optional dbt_project_path
set in the ProjectConfig
init optional
tatiana
changed the title
Make the argument
Make the arg Sep 29, 2023
dbt_project_path
set in the ProjectConfig
init optional dbt_project_path
set in the ProjectConfig
init optional
Discussed in the #airflow-dbt channel: |
I was discussing this in the slack thread linked above, and will attempt to work on the implementation of this. |
2 tasks
@tatiana can I take this issue? |
Hi @erdos2n , thanks for offering to help! I think @MrBones757 is working on this: #581 |
tatiana
pushed a commit
that referenced
this issue
Oct 13, 2023
This change allows the `dbt_project_path` argument from `ProjectConfig` to be optional, and add the ability to provide `manifest_path` alone. It also adds the ability for the user to (optionally) define `project_name` when `dbt_project_path` is defined and requires `project_name` to be defined when `dbt_project_path` is not defined. Closes: #569
This was released as part of 1.2: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
Currently, users must declare the
dbt_project_path
argument when instantiatingProjectConfig
(astronomer-cosmos/cosmos/config.py
Line 57 in 0123c3e
However, this variable should not be needed when rendering DAGs using a dbt manifest (
LoadMode.DBT_MANIFEST
). This is particularly relevant if users do not want to have their dbt pipelines together with the Airflow DAGs code, which should already be possible if they are usingExecutionMode.KUBERNETES
.Proposal
Make the
dbt_project_path
argument optional when instantiatingProjectConfig
.This ticket relates to #568 and it is also a follow-up to a conversation with @pgoslatara
The text was updated successfully, but these errors were encountered: