Hey everyone, After upgrading to dagster 1.4.3, It...
# integration-dbt
d
Hey everyone, After upgrading to dagster 1.4.3, It seems that passing the
full_refresh
flag to the job config no longer works. Here is my code:
Copy code
full_refresh_job = define_asset_job(
    "full_refresh_job",
    AssetSelection.groups("marketing"),
    config={"ops": {op_name: {"config": {"full_refresh": True}}}},
)
Now it throws the following error:
DagsterInvalidConfigError: Invalid default_value for Field. Error 1: Received unexpected config entry "run_dbt_3935f" at the root. Expected: "{ }".
How should I fix it?
🤖 1
r
What resource are you using?
d
I am using
dbt_cli_resource.configured
r
In https://github.com/dagster-io/dagster/releases/tag/1.4.0, groups are not enabled for dbt assets by default. They must be assigned explicitly. You can take a look at https://github.com/dagster-io/dagster/blob/1.4.3/MIGRATION.md#breaking-changes to see how to revert to the previous behavior. I believe that you are encountering this error since when you use
AssetSelection.groups("marketing")
, nothing is being selected.
d
Yes, that was the problem. Thank you!