In a sensor, what method should I be using to get ...
# ask-community
a
In a sensor, what method should I be using to get all of the events for an asset that have not yet been consumed?
🤖 1
s
I believe
materialization_records_for_key
in the multi-asset sensor should do that: https://docs.dagster.io/concepts/partitions-schedules-sensors/asset-sensors#triggering-runs-upon-materializations The call is relative to the cursor, which tracks which materializations have been consumed
a
Thank you