You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/20 16:38:54 UTC

[GitHub] [airflow] raphaelauv commented on a change in pull request #20411: Add test on skip_all_except

raphaelauv commented on a change in pull request #20411:
URL: https://github.com/apache/airflow/pull/20411#discussion_r772512396



##########
File path: airflow/models/skipmixin.py
##########
@@ -140,6 +140,8 @@ def skip_all_except(self, ti: TaskInstance, branch_task_ids: Union[str, Iterable
         self.log.info("Following branch %s", branch_task_ids)
         if isinstance(branch_task_ids, str):
             branch_task_ids = {branch_task_ids}
+        elif branch_task_ids is None:
+            branch_task_ids = {}

Review comment:
       thanks for the review @eladka




-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org