https://dagster.io/ logo
#ask-community
Title
# ask-community
j

Jakub Zgrzebnicki

04/28/2023, 6:11 AM
In previous versions of dagster I was using
asset_event.dagster_event.logging_tags['pipeline_tags']
to get tags of materialization run in asset_sensor, When updating to newest version there is no
pipeline_tags
key. I was using that to check if materialization was run by schedule/sensor or ad-hoc. Is there posiblity to check that in newest version? There is asset_event.tags but it not include required tags.
👍 1
d

daniel

04/28/2023, 12:00 PM
Hi jakub - I think this would work:
Copy code
context.instance.get_run_by_id(asset_event.run_id).tags
❤️ 1
2 Views