diff --git a/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/asset_decorator.py b/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/asset_decorator.py index 5e74b1ab703d1..fa786b67c5618 100644 --- a/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/asset_decorator.py +++ b/examples/docs_beta_snippets/docs_beta_snippets/guides/data-assets/data-assets/asset_decorator.py @@ -4,20 +4,18 @@ @dg.asset -def sugary_cereals() -> None: - ... +def sugary_cereals() -> None: ... @dg.asset(deps=[sugary_cereals], group_name="sales") -def shopping_list() -> None: - ... - +def shopping_list() -> None: ... + @dg.asset( owners=["bighead@hooli.com", "team:roof", "team:corpdev"], ) -def my_dataset(): - store_data(transform_data(load_data)) +def my_dataset(context: dg.AssetExecutionContext): + context.log.info("Loading data for my_dataset") defs = dg.Definitions(assets=[my_dataset])