What is the best way to get the last time an Asset...
# ask-community
r
What is the best way to get the last time an Asset materialized with success? Currently, I'm setting the date on metadata, and then when I need the last materialized date I get the events from
DagsterEventType.ASSET_MATERIALIZATION
, iterate, and get the metadata from there. I don't know if I'm overcomplicating
c
DagsterInstance.get_latest_materialization_event
🌈 1
❤️ 1
r
Thanks, worked perfectly!