davidcaron commented on issue #23411: URL: https://github.com/apache/airflow/issues/23411#issuecomment-1124288708
I found a fix for this. But I think I would need a bit of help to submit a PR. https://github.com/davidcaron/airflow/commit/21c4d3ce7d64755da1131a83dd22ab4cd2e03271 Basically, `ReadyToRescheduleDep._get_dep_statuses` receives a `TaskInstance`, but the `task` property of this task instance is a `SerializedBaseOperator` object, not the original object. And this serialized object doesn't have the `mode` or `reschedule` attributes, because they are not explicitly included when serializing. This fix works, but It feels a bit awkward to only include the `mode` attribute... I'll check tomorrow if I can find more information on what the `SerializedBaseOperator` is used for. -- 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]
