可通过更新airflow和boto3库来解决此问题。具体步骤如下:
1.升级Airflow 在CLI中执行以下命令: pip install --upgrade apache-airflow
2.升级boto3 在CLI中执行以下命令: pip install --upgrade boto3
3.重新启动Airflow Webserver和Scheduler 在CLI中执行以下命令: airflow webserver -D airflow scheduler -D
更新后,再次尝试通过CLI运行任务,即可解决DeprecationWarning警告。
上一篇:Amazon卖家中心SPAPI错误-'code':'InvalidInput','message':'无效的请求参数','details':''
下一篇:AmazonManagedAirflow2.2.2无法通过CLI运行任务,提示DeprecationWarning。