The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).
Head commit for run: 0a33bcf3a705981742c27ade50c51f7e6cf17dc8 / Ephraim Anierobi <[email protected]> Support setting dependencies for tasks called outside TaskGroup context manager Currently, you must instantiate a classic operator or call a decorated operator inside the context manager before it will link up with the context manager. For example, tasks 1 and 2 below will be outside the group1 context: ``` task1 = BashOperator(task_id="task1", bash_command="echo task1") task2 = BashOperator(task_id="task2", bash_command="echo task2") with TaskGroup('group1'): task1 >> task2 ``` This PR addresses the above such that when you do that, the tasks will be inside the group1 context. For a single task, you can do: ``` task1 = BashOperator(task_id="task1", bash_command="echo task1") with TaskGroup('group1') as scope: scope.add(task1) ``` Report URL: https://github.com/apache/airflow/actions/runs/5456928447 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
