Skip to content

Commit

Permalink
[docs] Remove owners from metadata example (#20336)
Browse files Browse the repository at this point in the history
You can now define owners on an `AssetsDefinition` in code, so it
doesn't make sense to define owners in metadata anymore.
  • Loading branch information
clairelin135 committed Mar 8, 2024
1 parent c490734 commit 3cdb48c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content/concepts/assets/software-defined-assets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ Dagster supports attaching arbitrary [metadata](/\_apidocs/ops#dagster.MetadataV
To attach metadata, supply a `metadata` dictionary to the asset:

```python file=/concepts/assets/asset_definition_metadata.py startafter=start_example endbefore=end_example
@asset(metadata={"owner": "alice@mycompany.com", "priority": "high"})
@asset(metadata={"priority": "high"})
def my_asset():
return 5
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# start_example


@asset(metadata={"owner": "alice@mycompany.com", "priority": "high"})
@asset(metadata={"priority": "high"})
def my_asset():
return 5

Expand Down

1 comment on commit 3cdb48c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagster-docs ready!

✅ Preview
https://dagster-docs-1pmwo7hp7-elementl.vercel.app
https://master.dagster.dagster-docs.io

Built with commit 3cdb48c.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.