Fixed: airflow dags unpause Shows is_paused True in Apache Airflow®
I unpaused a Dag from the terminal in Apache Airflow® 3.4.0, and the answer said is_paused | True, as if the Dag were still paused. It wasn't: the command had worked, and the table showed the Dag's state from before the command. airflow dags pause does the same the other way round. Here's how I checked, why it happens, and how to see the real state.
What I Was Doing
I had a Dag called daily_cleanup and wanted to switch it between paused and active from the terminal, with the project's virtual environment active and AIRFLOW_HOME set. A paused Dag doesn't get new scheduled runs. First, I checked its current state:
airflow dags details daily_cleanup
dag_id | daily_cleanup
is_paused | False
airflow dags details prints a table with one row per property of the Dag; these are two of its rows. is_paused | False means it was active. Then I paused it:
airflow dags pause daily_cleanup
What I Expected
A table confirming the new state: is_paused True.
What I Got
dag_id | is_paused
==============+==========
daily_cleanup | False
False, the state it had before. I ran airflow dags details daily_cleanup again: it said is_paused | True, so the pause had worked. Then I unpaused it, and the same thing happened the other way round:
airflow dags unpause daily_cleanup
dag_id | is_paused
==============+==========
daily_cleanup | True

Every airflow dags command also printed two FileType is deprecated warnings first, which I left out here; Fixed: FileType is deprecated explains them.
What I Checked
The real state after each command. airflow dags details daily_cleanup after the pause said True, and after the unpause False. Each command did its job, and each printed the opposite of what it had just set.
The code. Both commands call set_is_paused in Airflow's dag_command.py. It changes each matching Dag, keeps the value it had before, and prints those values:
def _update_is_paused(dag_model: DagModel) -> bool:
old_is_paused = dag_model.is_paused
dag_model.set_scheduling_state(DagSchedulingState.PAUSED if is_paused else DagSchedulingState.ACTIVE)
return old_is_paused
old_values = [
{"dag_id": dag_model.dag_id, "is_paused": _update_is_paused(dag_model)} for dag_model in matched_dags
]
session.commit()
AirflowConsole().print_as(data=old_values, output=args.output)
_update_is_paused returns old_is_paused, and old_values is what gets printed.
Upstream. I reported it as apache/airflow#77849. A fix, apache/airflow#78060, was open and not yet merged on 2026-12-04.
Why It Happens
airflow dags pause and airflow dags unpause in Airflow 3.4.0 print each Dag's is_paused value from before the change, not after it. The change itself is made and saved.
The Fix
Until the fix is released, read the table as "the state before this command", and check the state the Dag is in now with airflow dags details:
airflow dags details daily_cleanup
dag_id | daily_cleanup
is_paused | False

The toggle in the UI shows the same state: How to Pause and Unpause a Dag in Apache Airflow® shows where it is.
After the Fix
After the unpause, airflow dags details showed is_paused | False: daily_cleanup was active, whatever the unpause command had printed. Running the unpause a second time confirmed it:
airflow dags unpause daily_cleanup
No paused DAGs were found
The command only changes Dags that aren't in the state you ask for yet, so a second unpause finds nothing to do.
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
Running airflow dags unpause again because it printed True | The Dag was already active: the second run printed No paused DAGs were found | Check with airflow dags details before running it again |
Reading False after airflow dags pause as "still active" | It's the state before the pause; airflow dags details said True | Check with airflow dags details |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
airflow dags unpause prints is_paused True | The table shows the state before the command | Check with airflow dags details <dag id> |
No paused DAGs were found | The Dag is already active, or the Dag ID is misspelled | Check with airflow dags details <dag id> |
No unpaused DAGs were found after airflow dags pause | The Dag is already paused, or the Dag ID is misspelled | Check with airflow dags details <dag id> |
FAQ
Did the command fail?
No. Both commands changed the Dag and saved the change: airflow dags details showed the new state every time.
Does the UI have the same problem?
No. The toggle on the Dag's page shows the Dag's current state.
Conclusion
airflow dags unpause daily_cleanup printed is_paused | True because Airflow 3.4.0's pause and unpause commands print the state from before the change. airflow dags details daily_cleanup showed False: the unpause had worked. Until the fix is released, trust airflow dags details or the UI toggle, not the table the command prints.
Additional Resources
- apache/airflow#77849 — the report, and the fix linked from it.
- Command line interface reference —
airflow dags pause,unpauseanddetails. - Dag pausing, deactivation and deletion — what paused means.
Related
- How to Pause and Unpause a Dag in Apache Airflow®
- How to Trigger a Dag from the Command Line with airflow dags trigger
Apache®, Apache Airflow and Airflow® are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries. No endorsement by The Apache Software Foundation is implied by the use of these marks.
