You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ephraimbuddy (via GitHub)" <gi...@apache.org> on 2023/06/26 11:21:44 UTC
[GitHub] [airflow] ephraimbuddy commented on a diff in pull request #32099: Support setting dependencies for tasks called outside setup/teardown context manager
ephraimbuddy commented on code in PR #32099:
URL: https://github.com/apache/airflow/pull/32099#discussion_r1242038370
##########
airflow/models/baseoperator.py:
##########
@@ -1001,6 +1001,14 @@ def __enter__(self):
def __exit__(self, exc_type, exc_val, exc_tb):
SetupTeardownContext.set_work_task_roots_and_leaves()
+ @staticmethod
+ def add_ctx_task(task):
Review Comment:
I will do the same for TaskGroup after this PR
--
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