Skip to content

Add dagster tags to Sling stream(s) #24775

Answered by laenan8466
laenan8466 asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, did some more debugging and can confirm that in the AssetSpec creation the tags list: {'dagster/kind/sling': '', 'tag1': '', 'tag2': ''}, where the first entry is the default build tag. Therefore I guess that is correct.

But your extra encouragement helped me find the error:
I expected that these tags would show up in the asset list/overview, similar to the build kind tag. But they show up only in the filters. They didn't also showed up in the runs, as this is the expected behaviour.

I changed my get_tags to the following, to allow different kind of tag definitions (including with values) in the yaml:

class CustomSlingTranslator(DagsterSlingTranslator):
    @override
    def get_tags(s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laenan8466
Comment options

Answer selected by laenan8466
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: troubleshooting Related to debugging and error messages integration: embedded-elt Related to dagster-embedded-elt which uses Sling and data Load Tool (dlt)
2 participants