-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Remove Legacy Query Object Usage from airflow-models #52325
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
Merged
uranusjr
merged 36 commits into
apache:main
from
Prab-27:remove-session-query-from-airflow-models
Sep 2, 2025
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
5b5a855
remove session.query and update new style from airflow-models
Prab-27 68971f4
Update usage of XComModel.get_many method, as it now returns a Select…
Prab-27 bbe9f39
fix static checks
Prab-27 d5958d4
remove .with_entities from models-taskinstance.py
Prab-27 7aa757a
fix static checks - add session for session.execute in serialized_obj.py
Prab-27 1eaea10
fix static checks for usage of get_many method
Prab-27 184cf43
fix static checks
Prab-27 d18a371
execute select in routes-xcom.py
Prab-27 29f7803
get value using session.execute() and .mappings() in taskinstace-model
Prab-27 34c3fb9
use .mappings() in test and key value in xcom-models
Prab-27 2d29d2d
fix sttaic check value for xcom and test_backend
Prab-27 8d3584a
remove deprecated timezone imports
Prab-27 f6ed198
fix tests form test_backend and test_pod
Prab-27 c86f88e
execute select function from tests and fix a test for dxcom-deserials…
Prab-27 a47f1cc
remove .mappings()
Prab-27 5e0c6e0
fix tests
Prab-27 3a3cb3c
remove .mappings() from cncf/test_pod.py
Prab-27 8d3c0d4
fix some checks
Prab-27 4d1344a
add path to pre-commit hook
Prab-27 e581c1d
use / in path
Prab-27 6a80c90
use AIRFLOW_V_3_1_PLUS version in test_backend
Prab-27 548361b
add version and fix chnages
Prab-27 06e3297
Resolve conflicts
Prab-27 37254ee
remove session.query()
Prab-27 7a91031
fix tests
Prab-27 c4cf286
apply comment
Prab-27 bf1d52a
add session as attribute in DagRunWaiter class
Prab-27 663d6c9
resolve conflict
Prab-27 747c730
Remove debug print statements
Prab-27 0d7679a
adjust import statements and remove same code
Prab-27 6e61285
Customize the conditions
Prab-27 3fb04c5
rearrange tests from test_pod.py
Prab-27 d81f3b4
refactored conditional logic
Prab-27 d7d4bfc
remove unused session arguments from xcom_query function
Prab-27 2e68baa
remove blank lines and add select_from
Prab-27 432672c
fix static checks
Prab-27 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
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.
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.