Does `@dagster.asset_sensor` support partitioned a...
# ask-community
s
Does
@dagster.asset_sensor
support partitioned assets, or should I be using
@dagster.multi_asset_sensor
for those?
🤖 1
s
You should be able to use an asset sensor with a partitioned asset-- the sensor will trigger for all materializations regardless of partition. You’ll just need to apply any logic dependent on the materialization partition inside the sensor eval function.
s
What is the right way to find out which upstream partition was materialized?
I found “event.dagster_event.event_specific_data.materialization.partition” but that seems way too deep in internals
s
event.dagster_event.partition
should work
👍 2