You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/03 16:58:19 UTC

[GitHub] [airflow] sushi30 commented on issue #19385: Scheduler fails when loading SubDAG after upgrade to 2.2.1

sushi30 commented on issue #19385:
URL: https://github.com/apache/airflow/issues/19385#issuecomment-959730914


   As a workaround. Using this config and **deleting** the DAG allows it to continue running:
   ```python
   def create_subdag(dag):
       with DAG(dag_id=f"{dag.dag_id}.subdag", start_date=days_ago(0), schedule_interval="@once", catchup=False) as dag:
           DummyOperator(task_id="task")
       return dag
   ```


-- 
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-unsubscribe@airflow.apache.org

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