kaxil edited a comment on issue #13811:
URL: https://github.com/apache/airflow/issues/13811#issuecomment-772513132
A workaround for this, for now, is to pass a session to `get_dagrun` method:
```python
from airflow.settings import Session
session = Session()
def task_instance_mutation_hook(task_instance):
dag_run = task_instance.get_dagrun(session=session)
conf = dag_run.conf
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]