-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Re-enable start_from_trigger feature with rendering of template fields #55068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dabla
wants to merge
73
commits into
apache:main
Choose a base branch
from
dabla:fix/render-templated-fields-start-from-trigger-in-trigger-subprocess
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+905
−195
Open
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
90fa8fd
Fix rendering of template fields with start from trigger
dabla 5f7306d
refactor: Check if TaskInstance exists or not in BaseTrigger
dabla 2fddf07
Revert "refactor: Check if TaskInstance exists or not in BaseTrigger"
dabla a21201f
refactor: Changed return type of task_instance property in BaseTrigger
dabla 937a379
refactor: Make sure default values for start from trigger can be over…
dabla 6819e63
refactor: Remove assert on start_date of TaskInstance
dabla f5dd331
refactor: Make sure to check if dag_data is not None in workloads bef…
dabla ed0594b
refactor: Only pass serialized dag model to workload if trigger conta…
dabla ec34481
refactor: Don't invoke _read_dag twice in get_dag method of DBDagBag …
dabla df75780
refactor: Don't invoke _read_dag twice in get_dag method of DBDagBag …
dabla 23d7aea
refactor: Make _version_from_dag_run method of DBDagBag failsafe for …
dabla 6684575
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 6c28707
refactor: Moved None check on start_state together with the task in o…
dabla 96d1893
Revert "refactor: Make _version_from_dag_run method of DBDagBag fails…
dabla 4ab221e
refactor: Fixed test_get_dag_model
dabla 1da2ca1
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 0b4a36a
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 67bfa1e
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla bb80bfc
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 558c88a
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla d5d339f
refactor: Only pass serialized Dag model data to RunTrigger if start_…
dabla c7ce525
refactor: Added docstrings for start_from_trigger and start_trigger_args
dabla f631b37
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 499f463
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 259ae7b
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla a7e7c69
refactor: Templated field must be checked on task of task instance
dabla a019832
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla b18e942
refactor: Added start_from_trigger property on Trigger
dabla 2dc4f4b
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 337b22f
refactor: Reformatted trigger unit test
dabla c2de568
refactor: Only the RuntimeTaskInstance has the task attribute, the ge…
dabla 02e3413
refactor: Reformatted test trigger
dabla 064e59e
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 9010f1c
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla a3a9964
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla af9553d
Update airflow-core/src/airflow/serialization/definitions/mappedopera…
dabla 40b9b2d
refactor: Removed obsolete run method from TaskInstance
dabla 5042c3c
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 3e92f47
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla f3ca48a
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 85ac14d
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 3041c11
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 56f8cec
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla cc9b2cc
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla f3ffb51
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla c2c98b7
refactor: Added dag_data field to RunTrigger and made ti field optional
dabla 1a85868
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 76ee5a6
refactor: Reformatted RunTrigger
dabla 2834afc
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla d19f690
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 399c94b
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 6790e65
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 5aace8f
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 5331992
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 39f0782
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 75dfc99
refactor: We cannot detect if a Trigger has a task associated with a …
dabla 1436811
refactor: Re-added check on start_from_trigger from serialized Dag
dabla 97b4d45
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla bac2d24
refactor: Fixed call to dag_bag in get_dag_for_run_or_latest_version …
dabla 4796335
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 8e38dcf
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 19f975b
refactor: Extracted _do_render_template_fields method into Template s…
dabla 869ba37
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 1d0c6fd
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 2684561
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla c2f8271
refactor: task_id should be an instance field instead of property
dabla 8717575
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla f7fa0b0
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla cd23b0c
refactor: Added tests for _do_render_template_fields method in TestTe…
dabla 66b94f5
refactor: Fixed templater unit tests
dabla f5e3289
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 2bfafa1
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla 0f564af
Merge branch 'main' into fix/render-templated-fields-start-from-trigg…
dabla File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.