forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 'allow_trigger_in_future' config (apache#46663)
A DAG run with logical date in the future can never be started now. This only affects schedule=None, which can only be triggered manually. Instead of using a future date, you can trigger with a None logical date whenever you want. A custom run_id can be supplied if you want it. If a date is needed, it can be passed as a DAG param instead.
- Loading branch information
Showing
10 changed files
with
56 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Removed configuration ``scheduler.allow_trigger_in_future``. | ||
|
||
A DAG run with logical date in the future can never be started now. This only affects ``schedule=None``. | ||
|
||
Instead of using a future date, you can trigger with ``logical_date=None``. A custom ``run_id`` can be supplied if desired. If a date is needed, it can be passed as a DAG param instead. | ||
|
||
Property ``allow_future_exec_dates`` on the DAG class has also been removed. | ||
|
||
|
||
* Types of change | ||
|
||
* [ ] Dag changes | ||
* [x] Config changes | ||
* [ ] API changes | ||
* [ ] CLI changes | ||
* [ ] Behaviour changes | ||
* [ ] Plugin changes | ||
* [ ] Dependency changes | ||
* [x] Code interface changes | ||
|
||
* Migration rules needed | ||
|
||
* ruff | ||
|
||
* AIR302 | ||
|
||
* [ ] property ``airflow.models.dag.DAG.allow_future_exec_dates`` | ||
|
||
* ``airflow config lint`` | ||
|
||
* [ ] ``scheduler.allow_trigger_in_future`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters