From 2f6a40d64a503f17974cdae57deac74b59895741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E8=89=B3?= Date: Tue, 28 Oct 2025 09:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/office/dag_office_rent_base_price.py | 2 +- dags/office/rent/base_price.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/office/dag_office_rent_base_price.py b/dags/office/dag_office_rent_base_price.py index 2c4df53..c9d68cc 100644 --- a/dags/office/dag_office_rent_base_price.py +++ b/dags/office/dag_office_rent_base_price.py @@ -13,7 +13,7 @@ with DAG( schedule_interval="0 1 26 * *", start_date=pendulum.datetime(2025, 2, 28, tz="Asia/Shanghai"), catchup=True, - description="写字楼基准价计算" + description="写字楼租金基准价计算" ) as dag: t1 = PythonOperator( task_id='base_price', diff --git a/dags/office/rent/base_price.py b/dags/office/rent/base_price.py index 2a9d110..356dcec 100644 --- a/dags/office/rent/base_price.py +++ b/dags/office/rent/base_price.py @@ -453,7 +453,7 @@ def update_office(city, office, sample, year_month): actions.clear() -def getOffice(city, district, name): +def getOffice(city, district=None, name=None): """ 获取写字楼 """