Lee-W commented on code in PR #43949:
URL: https://github.com/apache/airflow/pull/43949#discussion_r1843491558
##########
airflow/cli/commands/dag_command.py:
##########
@@ -537,8 +538,8 @@ def dag_test(args, dag: DAG | None = None, session: Session
= NEW_SESSION) -> No
@provide_session
def dag_reserialize(args, session: Session = NEW_SESSION) -> None:
"""Serialize a DAG instance."""
-
session.execute(delete(SerializedDagModel).execution_options(synchronize_session=False))
+ if args.clear_history:
Review Comment:
got it. makes sense 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]