docstr: Example of scheduling an infinite number of DAG runs continuously.
docstr_tok: ["Example","of","scheduling","an","infinite","number","of","DAG","runs","continuously","."]
code: def run(self):
      """Example of scheduling an infinite number of DAG runs continuously."""
      # Step 1: Every minute, create and launch a new DAG.
      if self.schedule("* * * * *"):
          print("Launching a new DAG")
          self.dags.append(self._dag_cls(**self.dag_kwargs))
  
      for dag in self.dags:
          if not dag.has_completed:
              dag.run()
  
imports: import os
  from importlib import import_module
  import numpy
  import pandas
  from lightning.app import LightningApp, LightningFlow, LightningWork
  from lightning.app.components import TracerPythonScript
  from lightning.app.storage import Payload
  from lightning.app.structures import Dict, List
  from sklearn import datasets
  from sklearn.metrics import mean_squared_error
label_desc: Use image node_id 2 for calling the ScheduledDAG obj's underlying member method code with example usage: obj.run() without return types