yuqian90 commented on issue #10725:
URL: https://github.com/apache/airflow/issues/10725#issuecomment-688821173


   Hi, @CatarinaSilva , yes the workaround will work 
   
   > Thanks @yuqian90 , however the logic you proposed:
   > 
   > ```
   >     def needs_some_extra_task(some_bool_field, **kwargs):
   >         if some_bool_field:
   >             return ["extra_task", "final_task"]
   >         else:
   >             return ["final_task"]
   > ```
   > 
   > seems good to me, for some reason I didn't think I could have the same 
task in both sides of the branch 😅 I will use that until the behavior is 
restored and maybe even after honestly. What version will your PR be included 
in?
   
   Hi, @CatarinaSilva the workaround should continue to work after the fix is 
merged. So you can start using it right now and after too.
   
   @kaxil I'm hoping the fix #10751 can be merged in the next release of 1.10.* 
although the PR is for master.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to