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): """ 获取写字楼 """