-
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.
sentinel for tags without values (#20388)
## Summary & Motivation Adds a special sentinel value for tags that indicates "this tag is just a string, not a key-value pair". How this sentinel will be used: - In the CLI, when a selection like `--select tag:foo` is provided, we'll interpret it as `AssetSelection.tag("foo", "__dagster_novalue")` (implemented in this PR) - The dbt integration will provide this value for all tags (because dbt tags are strings). - In the UI, we'll hide this sentinel value. I.e. a tags dict like `{"foo": "fooval", "bar": "__dagster_novalue"}` will be rendered as "foo=fooval, bar" in the UI. ## How I Tested These Changes
- Loading branch information
Showing
4 changed files
with
26 additions
and
3 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
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
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
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