添加楼盘评级算法

This commit is contained in:
2024-07-12 16:21:46 +08:00
parent 6c311a3e05
commit 058ed8448d
+2 -1
View File
@@ -1,11 +1,12 @@
from airflow import DAG
from airflow.operators.bash import BashOperator from airflow.operators.bash import BashOperator
import pendulum import pendulum
from airflow import DAG
with DAG( with DAG(
dag_id="community_rating_dag", dag_id="community_rating_dag",
# 每月的最后一天运行 # 每月的最后一天运行
schedule_interval="0 20 * * 6", schedule_interval="0 20 * * 6",
start_date=pendulum.datetime(2024, 7, 12, tz="Asia/Shanghai"),
description="小区楼盘评级计算", description="小区楼盘评级计算",
catchup=True catchup=True
) as dag: ) as dag: