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 2020/06/01 04:24:49 UTC

[GitHub] [airflow] turbaszek commented on pull request #8296: Make execute and on_kill as abstractmethod in baseoperator

turbaszek commented on pull request #8296:
URL: https://github.com/apache/airflow/pull/8296#issuecomment-636605404


   From docs https://docs.python.org/3/library/abc.html :
   >Using this decorator requires that the class’s metaclass is ABCMeta or is derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract methods and properties are overridden.
   
   That's what I'm proposing in https://github.com/apache/airflow/pull/8805


----------------------------------------------------------------
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:
users@infra.apache.org