Skip to content

Commit

Permalink
Update docs/dagster-university/pages/dagster-dbt/lesson-5/3-creating-…
Browse files Browse the repository at this point in the history
…assets-that-depend-on-dbt-models.md

Co-authored-by: Tim Castillo <[email protected]>
  • Loading branch information
erinkcochran87 and tacastillo authored Feb 27, 2024
1 parent d3cd955 commit cb52811
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Now we’re ready to create the asset!
base64_data = base64.b64encode(image_data).decode('utf-8')
md_content = f"![Image](data:image/jpeg;base64,{base64_data})"
#TODO: Use `MaterializeResult` instead
context.add_output_metadata({
"preview": MetadataValue.md(md_content),
"data": MetadataValue.json(airport_trips.to_dict(orient="records"))
Expand Down

0 comments on commit cb52811

Please sign in to comment.