新增写字楼出售价格重算
This commit is contained in:
@@ -11,7 +11,7 @@ office_sell_stat_conn = MAIN_MONGO_CLIENT.get_collection('fangjia_stat', 'office
|
||||
office_rent_stat_conn = MAIN_MONGO_CLIENT.get_collection('fangjia_stat', 'office_rent_stat')
|
||||
|
||||
|
||||
def calc(**kwargs):
|
||||
def fill_base_price(**kwargs):
|
||||
"""
|
||||
写字楼基准价
|
||||
"""
|
||||
@@ -107,5 +107,5 @@ def calc_by_yearmonth(office_sell, office_rent, year_month):
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 测试脚本:直接运行时模拟 Airflow 的上下文
|
||||
calc(dag_run=type('DagRun', (), {'conf': {'city': '上海', 'district': '静安', 'name': '凯迪克大厦'}}))
|
||||
fill_base_price(dag_run=type('DagRun', (), {'conf': {'city': '上海', 'district': '静安', 'name': '凯迪克大厦'}}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user