版本修改

This commit is contained in:
王文艳
2026-07-22 16:19:17 +08:00
parent b7534064aa
commit e36d16cbdd
+4 -4
View File
@@ -50,28 +50,28 @@ with DAG(
branch_task = BranchPythonOperator(
task_id='choose_branch',
python_callable=choose_task,
provide_context=True
# 🛡️ 已安全移除 provide_context=True
)
# 任务1: 写字楼出售基础价格计算
t1 = PythonOperator(
task_id='office_sell_base_price_calc',
python_callable=calc,
provide_context=True
# 🛡️ 已安全移除 provide_context=True
)
# 任务2: 无样本写字楼出售基础价格填充
t2 = PythonOperator(
task_id='office_no_sample_sell_base_price_calc',
python_callable=fill_base_price,
provide_context=True
# 🛡️ 已安全移除 provide_context=True
)
# 第二个分支任务:t2 后判断是否继续
branch_after_office = BranchPythonOperator(
task_id='choose_after_office',
python_callable=choose_after_office,
provide_context=True
# 🛡️ 已安全移除 provide_context=True
)
# 跳过标记(office 模式结束点)