hussein-awala commented on code in PR #36693: URL: https://github.com/apache/airflow/pull/36693#discussion_r1446624698
########## airflow/models/dag.py: ########## @@ -1466,6 +1466,9 @@ def fetch_callback( # context for the callback. if dag.partial: tis = [ti for ti in tis if not ti.state == State.NONE] + # filter out removed tasks + tis = [ti for ti in tis if ti.state != TaskInstanceState.REMOVED] + print(f"tis: {tis}") Review Comment: We don't use print in the code; if there is a need to log something, we use `logging` package, but I don't think there is a need here. If you added it for debugging purposes, this comment will be a reminder to remove it before merging the PR. ```suggestion ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org