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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]