Skip to content

Commit 5a13ee4

Browse files
committed
fixup! Add bundle_name to ParseImportError
1 parent 61011d1 commit 5a13ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow/api/common/delete_dag.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def delete_dag(dag_id: str, keep_records_in_log: bool = True, session: Session =
7777
delete(ParseImportError)
7878
.where(
7979
ParseImportError.filename == dag.fileloc,
80-
ParseImportError.bundle_name == dag.get_bundle_name(session),
80+
ParseImportError.bundle_name == dag.bundle_name,
8181
)
8282
.execution_options(synchronize_session="fetch")
8383
)

0 commit comments

Comments
 (0)