""" 写字楼基准价计算 """ from airflow.operators.python import PythonOperator import pendulum from office.rent.base_price import calc from airflow import DAG with DAG( dag_id="office_rent_base_price_dag", schedule_interval="0 1 26 * *", start_date=pendulum.datetime(2025, 2, 28, tz="Asia/Shanghai"), catchup=True, description="写字楼基准价计算" ) as dag: t1 = PythonOperator( task_id='base_price', python_callable=calc, provide_context=True ) t1