摘要:
""" Example DAG demonstrating a workflow with nested branching. The join tasks are created with ``none_failed_min_one_success`` trigger rule such that
阅读全文
posted @ 2025-12-11 20:28
ZhangZhihuiAAA
阅读(5)
推荐(0)
摘要:
In Airflow, XCom stands for “Cross-Communication”. It’s a mechanism that allows tasks to exchange messages or small pieces of data. Key Points about X
阅读全文
posted @ 2025-12-11 19:27
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
MetaDatabase API Server Scheduler DAG-Processor Triggerer ✔ Airflow Scheduler The Scheduler is the core component that orchestrates your workflows. It
阅读全文
posted @ 2025-12-11 16:01
ZhangZhihuiAAA
阅读(7)
推荐(0)
摘要:
branching_venv = BranchPythonVirtualenvOperator( task_id='branching_venv', requirements=['numpy~=1.26.0'], venv_cache_path=VENV_CACHE_PATH, python_cal
阅读全文
posted @ 2025-12-11 13:14
ZhangZhihuiAAA
阅读(5)
推荐(0)
摘要:
from airflow.sdk import DAG, Label, TriggerRule # Label is optional here, but it can help identify more complex branches branching >> Label(option) >>
阅读全文
posted @ 2025-12-11 11:48
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
import sys print(sys.executable) # /home/frank/airflow-venv/bin/python
阅读全文
posted @ 2025-12-11 11:25
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
""" Example DAG demonstrating the usage of ``@task.branch`` TaskFlow API decorator with depends_on_past=True, where tasks may be run or skipped on alt
阅读全文
posted @ 2025-12-11 11:09
ZhangZhihuiAAA
阅读(7)
推荐(0)