From 0fe6897b0a37c7942de474a088dd011812db763e Mon Sep 17 00:00:00 2001 From: Rafalz13 Date: Tue, 9 Apr 2024 08:03:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Added=20missing=20docstring?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- viadot/tasks/luma.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/viadot/tasks/luma.py b/viadot/tasks/luma.py index ebe709720..bce06ef2d 100644 --- a/viadot/tasks/luma.py +++ b/viadot/tasks/luma.py @@ -12,7 +12,7 @@ def __init__( self, metadata_dir_path: str, url: str = None, - dbt_project_path: str = None, + dbt_project_path: str = "tmp_dbt_repo_dir", credentials_secret: str = None, vault_name: str = None, *args, @@ -26,6 +26,8 @@ def __init__( In the case of dbt, it's dbt project's `target` directory, which contains dbt artifacts (`sources.json`, `catalog.json`, `manifest.json`, and `run_results.json`). url (str, optional): The url of the Luma ingestion API. Defaults to None. + dbt_project_path (str, optional): The path to the dbt project (the directory containing + the `dbt_project.yml` file). Defaults to 'tmp_dbt_repo_dir'. credentials_secret (str, optional): The name of the Azure Key Vault secret containing Luma credentials. Defaults to None. vault_name (str, optional): The name of the vault from which to obtain the secrets. Defaults to None.