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/06/04 11:04:58 UTC

[GitHub] [airflow] yuqian90 commented on pull request #13037: Marking success/failed automatically clears failed downstream tasks

yuqian90 commented on pull request #13037:
URL: https://github.com/apache/airflow/pull/13037#issuecomment-854619884


   > @yuqian90 @kaxil This need tackling in a different way -- there shouldn't be _any_ logic in the view, as that means that the Web UI and the API behave differently.
   
   Hi @ashb . I can't seem to find an API function that has similar features as `_mark_task_instance_state()` in `views.py`. If we don't put this logic in `views.py`, should i move it into `airflow.api.common.experimental.mark_tasks.set_state()` ?


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