Skip to content

Commit

Permalink
Format DagBag.dagbag_report() Output (#31095)
Browse files Browse the repository at this point in the history
The whitespace before `{table}` 
is throwing off the headers when printing `DagBag.dagbag_report()`
  • Loading branch information
mtsadler-branch authored May 5, 2023
1 parent 16debb0 commit 41c8746
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions airflow/models/dagbag.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,7 @@ def dagbag_report(self):
-------------------------------------------------------------------
Number of DAGs: {dag_num}
Total task number: {task_num}
DagBag parsing time: {duration}
{table}
DagBag parsing time: {duration}\n{table}
"""
)
return report
Expand Down

0 comments on commit 41c8746

Please sign in to comment.