MatrixManAtYrService edited a comment on issue #15698:
URL: https://github.com/apache/airflow/issues/15698#issuecomment-842810436
If I do:
```python3
def task_instance_mutation_hook(ti):
print("MUTATION HOOK CALLED")
```
and run `airflow dags test mydagname $(date "+%Y-%m-%d")`, the message
appears in stdout:
```
[2021-05-18 04:03:43,472] {dagbag.py:487} INFO - Filling up the DagBag from
/usr/local/airflow/dags
MUTATION_HOOK_CALLED
INFO - Adding to queue: ['<TaskInstance: mydagname.mytaskname ...
```
If I add the import and the type hint as shown above, the message stops
showing up.
Edit: Oops, I had a version before the fix, so I haven't tested the
fix--just replicated the bug.
--
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]