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/16 02:54:10 UTC

[GitHub] [airflow] josh-fell commented on a change in pull request #19607: Clean up dynamic `start_date` values from docs

josh-fell commented on a change in pull request #19607:
URL: https://github.com/apache/airflow/pull/19607#discussion_r749861142



##########
File path: airflow/example_dags/example_subdag_operator.py
##########
@@ -19,29 +19,29 @@
 """Example DAG demonstrating the usage of the SubDagOperator."""
 
 # [START example_subdag_operator]
+from datetime import datetime
+
 from airflow import DAG
 from airflow.example_dags.subdags.subdag import subdag
 from airflow.operators.dummy import DummyOperator
 from airflow.operators.subdag import SubDagOperator
-from airflow.utils.dates import days_ago
 
 DAG_NAME = 'example_subdag_operator'
 
-args = {

Review comment:
       Update this to a more relevant example/use of `default_args` other than `owner`. (Some could argue setting `owner` _might_ be irrelevant with RBAC.)




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