jroachgolf84 opened a new pull request, #50060:
URL: https://github.com/apache/airflow/pull/50060

   This pull request adds the `last_asset_event_id` and 
`last_asset_event_timestamp` fields to the `AssetResponse` model, and thus, the 
`/assets` endpoint. The original use-case was to make the Asset list view 
sortable by the last Asset Event. However, there is a much larger use-case at 
play here; **the ability to easily determine the timestamp for the last Asset 
Event for a certain Asset**. This is especially applicable for Asset Watchers.
   
   By default, the `last_asset_event_id` and `last_asset_event_timestamp` 
fields are returned as `null`. It's not until the first Asset Event that these 
fields are populated.
   
   Unit-tests were added/updated for all changes made.
   
   related: #47164 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to