pierrejeambrun opened a new issue, #46565:
URL: https://github.com/apache/airflow/issues/46565

   ### Body
   
   ## Context
   A DagRun can have multiple DagVersions associated. The reason for that is 
because the DagVersion can change in between tasks and even in between task 
tries.
   
   To retrieve the DagVersions associated to a particular DagRun, we should 
explore the TI (current version) and TIH (history version for tries) and 
aggregate those.
   
   Ideally this should be accessible through a property / association_proxy / 
relationship so we can easily do `DagRun.dag_versions` to retrieve all of the 
related ORM DagVersion objects. (In addition we should be able to specify if we 
want to eagerload or lazyload that attribute).
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow 
project.


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