This project defines an operator for Alembic for Apache Airflow. The aim is to provide the ability to include Alembic functionality within an Apache DAG. The current implementation of Alembic operators includes:
AlembicBaseOperator
- Provides DAG node for AirflowAlembicUpgradeOperator
- Wrapsalembic.command.upgrade
AlembicDowngradeOperator
- Wrapsalembic.command.downgrade
- Install dev dependencies:
pip install -r requirements-dev.txt
- Run tests:
make test
orpytest tests
- Prettify code (using Black):
make pretty