Hi, new and not familiar with dagster but inherite...
# ask-community
w
Hi, new and not familiar with dagster but inherited the code so trying to make small changes. What do I need to read an output from a dbt macro? Currently I have something like this to run a dbt macro
Copy code
context.resources.dbt.cli(
        "run-operation my_macro",
        args={"type": value}
    )
Is there a specific way I need to return my result from dbt ? On my test run the response only contains stdout of the dbt run but no result
🤖 1
a
Then you can
yield Output(cli_result)
- that'll create a
DbtOutput
for you
w
ty so much for this! I saw the DbtOutput class in the documentation but have no idea how to get to it! this seems like the direction i needed! thanks!