jroachgolf84 commented on issue #47164: URL: https://github.com/apache/airflow/issues/47164#issuecomment-2744377459
> If I understand correctly, we will need to extend > > [airflow/airflow/api_fastapi/core_api/routes/public/assets.py](https://github.com/apache/airflow/blob/27f559e87170b9059f018206bf6dbbaa76529afa/airflow/api_fastapi/core_api/routes/public/assets.py#L95) > > Line 95 in [27f559e](/apache/airflow/commit/27f559e87170b9059f018206bf6dbbaa76529afa) > > def get_assets( > query to include the latest `AssetEvent`. To allow the response to include this information, we'll need to also change > [airflow/airflow/api_fastapi/core_api/datamodels/assets.py](https://github.com/apache/airflow/blob/27f559e87170b9059f018206bf6dbbaa76529afa/airflow/api_fastapi/core_api/datamodels/assets.py#L45) > > Line 45 in [27f559e](/apache/airflow/commit/27f559e87170b9059f018206bf6dbbaa76529afa) > > class AssetResponse(BaseModel): @Lee-W, curious your thoughts here. Do we want to make the `last_asset_event` field a timestamp, or a reference to an actual `AssetEvent`? -- 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]
