From 88395da71b81f3ecc157c7ee5ffc523786a127ea Mon Sep 17 00:00:00 2001 From: Colton Padden Date: Wed, 28 Feb 2024 13:28:21 -0500 Subject: [PATCH] consolidate comment on materializeresult --- docs/content/getting-started/quickstart.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/content/getting-started/quickstart.mdx b/docs/content/getting-started/quickstart.mdx index 935ad010f90e5..fd97826e3077b 100644 --- a/docs/content/getting-started/quickstart.mdx +++ b/docs/content/getting-started/quickstart.mdx @@ -125,7 +125,7 @@ height={1754} The Quickstart project defines two **Assets** using the decorator: - `hackernews_top_story_ids` retrieves the top stories from the Hacker News API and saves them as a JSON file. -- `hackernews_top_stories` builds upon the first asset, retrieving data for each story and saving it as a CSV file. +- `hackernews_top_stories` asset builds upon the first asset, retrieving data for each story as a CSV file, and returns a `MaterializeResult` with a markdown preview of the top stories. ```python file=/getting-started/quickstart/assets.py import json @@ -177,8 +177,6 @@ def hackernews_top_stories(config: HNStoriesConfig) -> MaterializeResult: ) ``` -The `hackernews_top_stories` asset returns a `MaterializeResult` with metadata, which is displayed in the Dagster UI, providing a markdown preview of the top stories. - --- ## Next steps