Brendan Jackson
07/06/2023, 8:44 AM@asset(
key_prefix="prefix",
)
def some_asset(context, dbt_asset):
And this fails:
Input asset '["dbt_asset"]' for asset '["prefix", "some_asset"]' is not produced by any of the provided asset ops and is not one of the provided sources
But if I add an ins:
@asset(
key_prefix="prefix",
ins={"stock_group": AssetIn(key=["prefix", "dbt_asset"])},
)
def some_asset(context, dbt_asset):
Then everything works as expected. The asset key ["prefix", "some_asset"]
is being resolved by dagit for the GUI. Is there some limitation about what asset keys automatically can get resolved? (some_asset
and dbt_asset
are in different groups)rex
07/06/2023, 3:57 PM