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


   With more and more things being put into the `@task` decorator, it becomes 
more difficult to see what names are being used, since the mixin-inheritance 
structure requires looking at the mixin declarations to know what names each 
mixin provides. This troubles me while reviewing #20860.
   
   By using a composition-based approach, these names become immediately 
visible in the same file, making it easier to design and review new name 
additions.
   
   I also added some more type annotations to make the return type easier to 
check. This PR does not include any functional changes.


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