Is_paused vs is_active

I’m using Airflow 2.0
Can someone please explain me the difference between is_paused and is_active?

is_paused corresponds to the dag on/off switch in the UI. is_active is normally true, but is set to false if the dag source file is deleted or fails to import - deleting the dag source file doesn’t actually delete any of its data from the metadata db, it just sets that flag to false so it can be filtered out of the UI and relevant scheduling operations etc.

1 Like