GitHub user enchant3dmango added a comment to the discussion: DAG Tasks Creation
**TLDR: Yes, this is intended.** Any task you instantiate inside a DAG context (```with DAG(...) as dag:```) is automatically added to the DAG, even if you don’t chain it to anything. That’s why t2 shows up in the Airflow UI. (Doesn’t matter whether it’s linked or not — if it’s created in the DAG context, it’s part of the DAG.) GitHub link: https://github.com/apache/airflow/discussions/49502#discussioncomment-12954376 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
