uranusjr commented on PR #53357:
URL: https://github.com/apache/airflow/pull/53357#issuecomment-3490114193

   An asset event actually has a reference to a task instance, and only 
indirectly to a dag run. Maybe instead of an endpoint, we should get that task 
instance directly from API, and use the result to populate two properties 
`source_dag_run` and `source_task_instance`.
   
   Also, with 
[AssetWatchers](https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/event-scheduling.html),
 an asset event can now be created without a dag run (nor task instance), so 
the API client needs to handle 404 as well.


-- 
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