uranusjr commented on code in PR #52234:
URL: https://github.com/apache/airflow/pull/52234#discussion_r2196671637
##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -881,7 +886,11 @@ def refresh_from_db(
else:
self.state = None
- def refresh_from_task(self, task: Operator, pool_override: str | None =
None) -> None:
+ def refresh_from_task(
+ self,
+ task: Operator | SerializedBaseOperator,
Review Comment:
A thousand tests and some (probably unused) code paths. It’s probably better
to have a separate PR focusing just on pruning those.
--
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]