Timothee Vandeput
07/12/2022, 11:44 PMyuhan
07/13/2022, 8:35 PMowen
07/13/2022, 8:41 PM{... (other config options) ..., "full-refresh": True}
yuhan
07/13/2022, 11:17 PMDagster Bot
07/13/2022, 11:17 PMTimothee Vandeput
07/14/2022, 12:44 PM"dbt": dbt_cli_resource.configured(
{"project_dir": DBT_PROJECT_DIR, "profiles_dir": DBT_PROFILES_DIR, "full-refresh": True}
),
I would like to do it from the launchpad as well. I tried with :
resources:
dbt:
config:
full-refresh: True
But it's not picking the flag. Any idea on how I should do it from the launchpad ?owen
07/14/2022, 1:00 PMTimothee Vandeput
07/14/2022, 4:19 PM@configured(dbt_cli_resource, config_schema={"full-refresh": bool})
def dbt_configuration(config):
return {"project_dir": DBT_PROJECT_DIR, "profiles_dir": DBT_PROFILES_DIR, "full-refresh": config["full-refresh"]}
And then specifying my new configuration for DBT in my ressource definition :
"dbt": dbt_configuration
I can now use the following configuration in the launchpad :
resources:
dbt:
config:
full-refresh: true
owen
07/14/2022, 4:19 PM