GitHub user potiuk added a comment to the discussion: DAG callback `context` 
does not have `dag_run` set in Airflow 3 but it is set in Airflow 2.

Also see the PR in progress here https://github.com/apache/airflow/pull/53655 
which brings back "get_previous_run" functionality to TaskSDK but with a 
slightly modified API and usage pattern,

So we expect the same from you @davidsteinar @benitezfede -> if you have some 
concrete access patterns other than "access the whole data model of airflow 
easily" and it's a "reusable pattern that others might use as well" - feel 
absolutely free to open an issue describing the pattern and use case, and 
explaining why it would be useful to have it in task sdk and we will take a 
look and decide if it is worth to implement it in 3.1 or 3.2.

GitHub link: 
https://github.com/apache/airflow/discussions/53618#discussioncomment-13863621

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to