sanederchik commented on code in PR #50441: URL: https://github.com/apache/airflow/pull/50441#discussion_r2083264139
########## airflow-core/docs/howto/dynamic-dag-generation.rst: ########## @@ -218,3 +217,74 @@ of the context are set to ``None``. with DAG(dag_id=dag_id, ...): ... + + +Abstraction of DAG objects generation +..................................... + +Assume you want to create a *DAG template* which you can use for: + + - Hiding the logics of your DAG from a viewer + - Dynamic DAG generation without a need for writing main logics of a DAG inside cycles + - Convenient testing. Review Comment: Sure, I just thought it would make an example look too difficult for people. I will write a `test_requsable_dag` example. ########## airflow-core/docs/howto/dynamic-dag-generation.rst: ########## @@ -218,3 +217,74 @@ of the context are set to ``None``. with DAG(dag_id=dag_id, ...): ... + + +Abstraction of DAG objects generation +..................................... + +Assume you want to create a *DAG template* which you can use for: + + - Hiding the logics of your DAG from a viewer + - Dynamic DAG generation without a need for writing main logics of a DAG inside cycles + - Convenient testing. Review Comment: Sure, I just thought it would make an example look too difficult for users. I will write a `test_requsable_dag` example. -- 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