修改city参数
This commit is contained in:
@@ -12,6 +12,6 @@ with DAG(
|
|||||||
) as dag:
|
) as dag:
|
||||||
t1 = BashOperator(
|
t1 = BashOperator(
|
||||||
task_id='community_rating',
|
task_id='community_rating',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/stat/community/community_rate.py --param1 "{{ dag_run.conf.get("city", "all")}}"'
|
bash_command='python /opt/airflow/dags/repo/dags/stat/community/community_rate.py --city "{{ dag_run.conf.get("city", "all")}}"'
|
||||||
)
|
)
|
||||||
t1
|
t1
|
||||||
Reference in New Issue
Block a user