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/09/14 06:18:55 UTC

[GitHub] [airflow] malthe commented on pull request #18112: Optional method name in task deferred

malthe commented on pull request #18112:
URL: https://github.com/apache/airflow/pull/18112#issuecomment-918843087


   @andrewgodwin a different take on this issue could be to add the following method to `BaseOperator`:
   ```python
   def execute_complete(self, context, event=None):
       self.execute(context)
   ```
   (With an appropriate docstring of course and some added notes in "deferring.rst".


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