robinedwards opened a new pull request #18119: URL: https://github.com/apache/airflow/pull/18119
The `enrich_errors` method assumes the first argument to the function its wrapping is a method on a `TaskInstance` when in fact it can also be a `LocalTaskJob`. In the case of the mini scheduler : https://github.com/apache/airflow/blob/944dcfbb918050274fd3a1cc51d8fdf460ea2429/airflow/jobs/local_task_job.py#L224 I believe this issue was introduced with https://github.com/apache/airflow/pull/16289 This is now handled by extracting the task_instance from the LocalTaskJob Closes #18118 -- 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]
