-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Remove owners from metadata example (#20336)
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
1 parent
c490734
commit 3cdb48c
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": "[email protected]", "priority": "high"}) | ||
@asset(metadata={"priority": "high"}) | ||
def my_asset(): | ||
return 5 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# start_example | ||
|
||
|
||
@asset(metadata={"owner": "[email protected]", "priority": "high"}) | ||
@asset(metadata={"priority": "high"}) | ||
def my_asset(): | ||
return 5 | ||
|
||
|
3cdb48c
There was a problem hiding this comment.
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