yuqian90 commented on a change in pull request #7038: [AIRFLOW-4495] allow
externally triggered dags to run for future exec dates
URL: https://github.com/apache/airflow/pull/7038#discussion_r368377943
##########
File path: airflow/models/dag.py
##########
@@ -573,6 +573,13 @@ def owner(self):
"""
return ", ".join({t.owner for t in self.tasks})
+ @property
+ def allow_future_exec_dates(self):
+ return conf.getboolean(
+ 'scheduler',
+ 'ALLOW_TRIGGER_IN_FUTURE',
Review comment:
It's not clear to me what the convention is right now. But there are more
code using lower case. So let's make this lower case.
```suggestion
'allow_trigger_in_future',
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services