GitHub user davidsteinar 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.

Just wanted to say that I am facing the same issue when trying to update my 
code base from Airflow 2 to 3. I have multiple DAG level callback functions 
that access the context for posting to Teams channels. I am only getting 
context object of this type
```
{'dag': <class 'airflow.sdk.definitions.dag.DAG'>, 'run_id': str, 'reason': 
str} 
```

but am unable to find the keys I am interested in logging in the 'dag' object.

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

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

Reply via email to