From 82da2050a5b92767a4bf1cddbe72a020d152c582 Mon Sep 17 00:00:00 2001 From: Sandy Ryza Date: Tue, 27 Aug 2024 09:49:19 -0700 Subject: [PATCH] [docs-beta] configuring assets tweaks --- .../guides/data-modeling/configuring-assets.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/docs-beta/docs/guides/data-modeling/configuring-assets.md b/docs/docs-beta/docs/guides/data-modeling/configuring-assets.md index 1a0563ddb4b65..76505d3d33235 100644 --- a/docs/docs-beta/docs/guides/data-modeling/configuring-assets.md +++ b/docs/docs-beta/docs/guides/data-modeling/configuring-assets.md @@ -1,6 +1,6 @@ --- -title: Configuring assets via the UI -sidebar_label: Configuring assets via the UI +title: Configuring assets using the Dagster UI +sidebar_label: Configuring assets using the Dagster UI sidebar_position: 50 --- @@ -10,9 +10,8 @@ Often, you will want to be able to tweak some parameters when materializing thes ## What you'll learn -- How to add configuration to your assets -- How to modify the configuration when launching a run -- When to use asset configuration vs. [resources](/docs/concepts/resources) +- How to make your assets configurable +- How to provide configuration when launching a run --- @@ -28,13 +27,13 @@ To follow the steps in this guide, you'll need: --- -## Adding configuration to assets +## Making assets configurable -For an asset to be configurable, you must first define a schema that inherits from the Dagster `Config` class. For example, let's say we want to allow users to change the lookback time window for an asset: +For an asset to be configurable, you must first define a schema that inherits from the Dagster `Config` class. For example, let's say we want to allow users to change the lookback time window for the computation that materializes an asset: -## Modifying the configuration when launching a run +## Providing configuration when launching a run When launching a run using Dagster's Launchpad, you can provide a run config file as YAML or JSON that overrides the default configuration for your asset: