Skip to content

Commit

Permalink
add clearer explanation of labels
Browse files Browse the repository at this point in the history
Signed-off-by: nikki everett <[email protected]>
  • Loading branch information
neverett committed Mar 3, 2025
1 parent 88bff92 commit e945519
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/docs/guides/build/assets/metadata-and-tags/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ Tag values must:
- Contain only alphanumeric characters, dashes (`-`), underscores (`_`), and dots (`.`)
- Be a string or JSON that is serializable to a string

### Labels

A label is a tag that only contains a key. To create a label, set the tag value to an empty string:

```python
@dg.asset(
tags={"private":""}
)
def my_asset() -> None:
...
```

A label will look like the following in the UI:

![Label in UI](/images/guides/build/assets/metadata-tags/label-ui.png)

### Customizing run execution with tags

While tags are primarily used for labeling and organization, some run execution features are controlled using run tags:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e945519

Please sign in to comment.