collinmcnulty commented on a change in pull request #19471:
URL: https://github.com/apache/airflow/pull/19471#discussion_r745110416



##########
File path: airflow/cli/cli_parser.py
##########
@@ -977,6 +977,17 @@ class GroupCommand(NamedTuple):
             ARG_SAVE_DAGRUN,
         ),
     ),
+    ActionCommand(
+        name='reserialize',
+        help="Reserialize all DAGs by parsing the DagBag files",
+        description=(
+            "Drop all serialized dags from the metadata DB. This will cause 
all DAGs to be reserialized "
+            "from the DagBag folder. This can be helpful if your serialized 
DAGs get out of sync with the "
+            "version of Airflow that you are running."
+        ),
+        
func=lazy_load_command('airflow.cli.commands.dag_command.dag_reserialize'),

Review comment:
       1. I thought I did nest it there? That was my intention. Am I misreading 
something?
   2. I was thinking that it would be better to keep all the dag parsing logs 
together, but that's not a very strongly held opinion.
   3. Will do.




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