Hi all :wave: I’ve been playing with the dagster-...
# announcements
b
Hi all 👋 I’ve been playing with the dagster-dbt example (https://github.com/dagster-io/dagster/tree/master/examples/dbt_example). I’ve found that despite having resource config set in the preset, I cannot execute pipelines from the cli without also providing a resource config with the
-c
flag (i.e. with a yaml file). Is this expected? I’m struggling to see the point of the presets if I need to provide yaml as well, which suggests to me that I am failing to understand something
c
Hi @Ben Torvaney 👋 thanks for checking out the dbt example! I think this might be what you’re looking for:
dagster pipeline execute -f dbt_example/pipelines.py --preset dev
pipelines often have more than one preset, so we ask users to specify the desired preset. sorry that this wasnt more clear! let us know if that works for you
cc @bob would be nice to add this to the readme?
👀 1
b
Thanks, Cat. I only tried running with
--mode
and not with the
--preset
at the CLI! Which would explain this… 🤦‍♂️