Join Slack
Powered by
Hey folks, I want to tag runs using configs provid...
# ask-community
q
Qwame
07/03/2023, 3:04 PM
Hey folks, I want to tag runs using configs provided by the user at run time. Is there a way to use this with pythonic configs and
define_asset_job
? I'm thinking something like
Copy code
define_asset_job( tags={'group': config.group} )
r
rex
07/03/2023, 3:57 PM
Hm, I believe this would require more intricate overriding of Dagster internals. You would have to set up your own
custom run coordinator
that adds tags to the run based on config value. A similar use case is run attribution:
https://docs.dagster.io/guides/dagster/run-attribution
q
Qwame
07/03/2023, 4:21 PM
Nice. Thanks
@rex
. I'll try this and let you know
r
rex
07/03/2023, 4:28 PM
Feel free to file a feature request if you want this experience to be more streamlined
👍 1
2
Views
Open in Slack
Previous
Next