Hi All, I am trying to integrate dbt to dagster bu...
# integration-dbt
j
Hi All, I am trying to integrate dbt to dagster but was unsuccessful. I was only following the docs but I always encounter this error.
r
Could you post the code that you’re using? From the error message, it looks like you’re missing the dbt resource in your
Definitions
object.
j
I've put my definitions here.
here's my assets code
r
how are you invoking the UI? It looks like you’ve set up your Dagster code properly, but in the error message that you’ve displayed, it looks like it’s importing from
from .repository import my_dagster_project
. If you load the file with your
Definitions
directly, do you get the same error message? e.g., try:
Copy code
dagster dev -f my_file.py
Here are the docs: https://docs.dagster.io/concepts/code-locations#local-development
j
hi rex. I remove the from .repository line and it worked. Thank you!
Hi @rex, how can I create a redshift upstream asset?