sar
08/11/2022, 6:15 PMairbyte_sync_op.configured
wasn’t providing the output I was looking for when i had it in an op decorator
• I then ran into dependency hell trying to get a dagster_dbt
call to work as it was installing some old version of dbt-core
and was throwing this error ModuleNotFoundError: No module named 'jinja2._compat'
. Was able to resolve that by installing the dbt-trino
library as that’s the backend we’re using, but there was absolutely no mention of having that driver or any other one installed in any of the examples or code samples that i came across
• This one i’m still stuck on and i posted elsewhere to see if someone know what i’m missing. I’m simply trying to run dbt deps
and looking at the docs https://docs.dagster.io/_apidocs/libraries/dagster-dbt#cli-resources several times now and i still don’t seem to understand how to call the cli and have it run deps
. I re-read the page about resources and looked at the code and was assuming that i could just run dbt_cli_resource.cli(command='deps')
but that’s not right as that’s a resource and i’ve only seen it used with configured.
As a newbie, gotta admit, it’s been very frustrating trying to figure how to implement something as simple as running an existing dbt project or syncing airbyte and there isn’t much online to help either.claire
08/11/2022, 10:00 PMdbt deps
. With regards to accessing resources within ops, this example illustrates how you can make calls to resources.
We can improve documentation about setting up dbt and how users can interact with ops like airbyte_sync_op
.