Skip to content

Commit

Permalink
fixup! Add bundle_name to ParseImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
ephraimbuddy committed Jan 13, 2025
1 parent 61011d1 commit 5a13ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/api/common/delete_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def delete_dag(dag_id: str, keep_records_in_log: bool = True, session: Session =
delete(ParseImportError)
.where(
ParseImportError.filename == dag.fileloc,
ParseImportError.bundle_name == dag.get_bundle_name(session),
ParseImportError.bundle_name == dag.bundle_name,
)
.execution_options(synchronize_session="fetch")
)
Expand Down

0 comments on commit 5a13ee4

Please sign in to comment.