新增附加标签

This commit is contained in:
shenjian@fangjia.com
2022-11-04 15:14:08 +08:00
parent 3293cf10f1
commit 478d3fdeac
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -135,4 +135,4 @@ def sync(city=None):
log.info(f"完成同步附加标签至206 {index_name}")
sync('上海')
sync()
+9 -5
View File
@@ -66,9 +66,13 @@ with DAG(
# task_id='education_dag',
# bash_command='python /opt/airflow/dags/repo/dags/business/business/community/education.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
# )
t14 = BashOperator(
task_id='education2_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/education2.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
# t14 = BashOperator(
# task_id='education2_dag',
# bash_command='python /opt/airflow/dags/repo/dags/business/business/community/education2.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
# )
t15 = BashOperator(
task_id='extra_dag',
bash_command='python /opt/airflow/dags/repo/dags/business/business/community/extra.py {{dag_run.conf["type"] if "type" in dag_run.conf}}',
)
t14
# t1 >> t2 >> t3 >> t4 >> t5 >> t6 >> t6_1 >> t7 >> t8 >> t9 >> t10 >> t11 >> t12 >> t13 >> t14
t15
# t1 >> t2 >> t3 >> t4 >> t5 >> t6 >> t6_1 >> t7 >> t8 >> t9 >> t10 >> t11 >> t12 >> t13 >> t14 >> t15