https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
d

denton

02/23/2024, 7:35 PM
Hi everyone, i'm receiving a puzzling error that I'd thought someone might have encountered. I have an asset factory that reads a config and generates a set of dbt assets. I loop through a list of configs and have this asset factory generate my set of dbt assets. When I try to materialize these assets I see this error:
Copy code
dagster._core.errors.DagsterInvariantViolationError: Compute for op "106_dbt_assets" returned an output "{outputname}" multiple times
Has anyone else encountered this error before?
b

Brandon Freeman

02/25/2024, 4:27 AM
Given the
returned an output "{output name}" multiple names
portion of the error message it looks like you may have been trying to use an f-string that wasn’t actually set as an f-string, resulting in the
{outputname}
instead of the value you were attempting to pass? Are you attempting to use a
@multi_asset
upstream with
get_asset_keys_by_output_name_for_source
or something along those lines?