uranusjr opened a new pull request, #34637:
URL: https://github.com/apache/airflow/pull/34637

   Just some minor refactoring.
   
   The lookup logic in operators is identical to the one on task groups (in a 
function of the same name), so let's reuse the logic instead of having to 
maintain two loops with only slightly different code.
   
   I thought about getting rid of this function on AbstractOperator altogether, 
but the `self.task_group is None` case is annoying enough I feel it's still 
better to keep the extra abstraction layer.


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

Reply via email to