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

Rafael Gomes

04/25/2023, 9:23 PM
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

chris

04/25/2023, 10:31 PM
DagsterInstance.get_latest_materialization_event
🌈 1
❤️ 1
r

Rafael Gomes

04/25/2023, 11:25 PM
Thanks, worked perfectly!
5 Views