collinmcnulty opened a new pull request #19471:
URL: https://github.com/apache/airflow/pull/19471


   Dag serialization is currently out of the hands of the user. Whenever dag 
reserialization is required, I run this python script:
   
   ```
   from airflow.models.serialized_dag import SerializedDagModel
   from airflow.settings import Session
   session = Session()
   session.query(SerializedDagModel).delete()
   session.commit()
   ```
   
   This PR makes running that script as simple as `airflow dags reserialize`.
   
   closes: #19432 
   
   
   


-- 
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]


Reply via email to