ZhangZhihui's Blog  
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 116 下一页

2025年12月12日

摘要: 🌈 What is Colorama? Colorama is a lightweight Python library that makes it easy to print colored and styled text in the terminal. It helps your conso 阅读全文
posted @ 2025-12-12 09:21 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)

2025年12月11日

摘要: """ 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) 推荐(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 阅读(8) 评论(0) 推荐(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 阅读(6) 评论(0) 推荐(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) 推荐(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 阅读(8) 评论(0) 推荐(0)
 
摘要: import sys print(sys.executable) # /home/frank/airflow-venv/bin/python 阅读全文
posted @ 2025-12-11 11:25 ZhangZhihuiAAA 阅读(9) 评论(0) 推荐(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) 推荐(0)

2025年12月10日

摘要: dag3 = DAG( dag_id="example_branch_datetime_operator_3", start_date=pendulum.datetime(2021, 1, 1, tz="UTC"), catchup=False, tags=["example"], schedule 阅读全文
posted @ 2025-12-10 21:50 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
 
摘要: Short answer: ✔ from airflow.sdk import DAG is better for Airflow 3 (and later). ✔ from airflow import DAG is the old import style for Airflow 2.x. ✅ 阅读全文
posted @ 2025-12-10 21:02 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 116 下一页