暂时注释任务

This commit is contained in:
shenjian@fangjia.com
2022-10-26 10:57:07 +08:00
parent 33174c43f3
commit fef734de5a
+40 -40
View File
@@ -10,46 +10,46 @@ with DAG(
catchup=True, catchup=True,
description="地址输出信息分类数据定时更新" description="地址输出信息分类数据定时更新"
) as dag: ) as dag:
t1 = BashOperator( # t1 = BashOperator(
task_id='comm_dag', # task_id='comm_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/comm.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/comm.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t2 = BashOperator( # t2 = BashOperator(
task_id='price_dag', # task_id='price_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/price.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/price.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t3 = BashOperator( # t3 = BashOperator(
task_id='sell_dag', # task_id='sell_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/sell.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/sell.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t4 = BashOperator( # t4 = BashOperator(
task_id='avg_cost_dag', # task_id='avg_cost_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/avg_cost.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/avg_cost.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t5 = BashOperator( # t5 = BashOperator(
task_id='trade_dag', # task_id='trade_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/trade.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/trade.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t6 = BashOperator( # t6 = BashOperator(
task_id='total_price_dag', # task_id='total_price_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/total_price.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/total_price.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t7 = BashOperator( # t7 = BashOperator(
task_id='traffic_dag', # task_id='traffic_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/traffic.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/traffic.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t8 = BashOperator( # t8 = BashOperator(
task_id='medical_dag', # task_id='medical_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/medical.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/medical.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t9 = BashOperator( # t9 = BashOperator(
task_id='life_dag', # task_id='life_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/life.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/life.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t10 = BashOperator( # t10 = BashOperator(
task_id='relative_price_ranking_dag', # task_id='relative_price_ranking_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/relative_price_ranking.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', # bash_command='python /opt/airflow/dags/repo/dags/business/business/community/relative_price_ranking.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
) # )
t11 = BashOperator( t11 = BashOperator(
task_id='consumption_dag', task_id='consumption_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/consumption.py {{dag_run.conf["type"] if "type" in dag_run.conf}}', bash_command='python /opt/airflow/dags/repo/dags/business/business/community/consumption.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',