kaxil commented on code in PR #29058:
URL: https://github.com/apache/airflow/pull/29058#discussion_r1089944457


##########
airflow/utils/db_cleanup.py:
##########
@@ -370,3 +382,19 @@ def run_cleanup(
                 session=session,
             )
             session.commit()
+
+
+@provide_session
+def export_archived_records(export_format, output_path, session: Session = 
NEW_SESSION):

Review Comment:
   Hmm .. Should we instead have a flag on `db clean` command to `export` 
before clean/archive? Or do we expect users to run this command separately to 
db clean too?



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to