diff --git a/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/multi_asset_decorator.py b/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/multi_asset_decorator.py index 40f5e3ad3749f..e967043020b73 100644 --- a/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/multi_asset_decorator.py +++ b/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/multi_asset_decorator.py @@ -3,8 +3,8 @@ @dg.multi_asset(specs=[dg.AssetSpec("asset_one"), dg.AssetSpec("asset_two")]) def my_multi_asset(): - dg.MaterializeResult(asset_key="asset_one", metadata={"num_rows": 10}) - dg.MaterializeResult(asset_key="asset_two", metadata={"num_rows": 24}) + yield dg.MaterializeResult(asset_key="asset_one", metadata={"num_rows": 10}) + yield dg.MaterializeResult(asset_key="asset_two", metadata={"num_rows": 24}) defs = dg.Definitions(assets=[my_multi_asset])