运行Airflow的常用说明不适用于Windows环境:
# airflow needs a home, ~/airflow is the default,
# but you can lay foundation somewhere else if you prefer
# (optional)
export AIRFLOW_HOME=~/airflow
# install from pypi using pip
pip install airflow
# initialize the database
airflow initdb
# start the web server, default port is 8080
airflow webserver -p 8080
Run Code Online (Sandbox Code Playgroud)
Airflow实用程序在命令行中不可用,我无法在其他地方找到它以手动添加.Airflow如何在Windows上运行?
我有一个SQLAlchemy模型实例,其中有新的值等待commit()
将它们写入数据库.如何在不发出数据的情况下检查数据库中的旧值rollback()
?