Skip to content

Command line tool to get DAG files ready for the Airflow 3 upgrade

License

Notifications You must be signed in to change notification settings

uranusjr/airflow2to3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airflow2to3

This is a command line program that rewrites Airflow DAG files to be compatible with Airflow 3, so users can upgrade more smoothly.

Example usage:

$ airflow2to3 --select AIR301 -- path/to/dag.py

The --select flag takes a comma-separated codes for the tool to fix. The codes are from Ruff's Airflow rules with the AIR prefix removed.

We only implement 2-to-3 rules with code 3xx.

About

Command line tool to get DAG files ready for the Airflow 3 upgrade

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages