Skip to content

Update multiple test files to remove SQLAlchemy query usage#59501

Merged
potiuk merged 24 commits into
apache:mainfrom
choo121600:refactor/sqla2-combined-core-tests
Dec 17, 2025
Merged

Update multiple test files to remove SQLAlchemy query usage#59501
potiuk merged 24 commits into
apache:mainfrom
choo121600:refactor/sqla2-combined-core-tests

Conversation

@choo121600

Copy link
Copy Markdown
Member

Combine PR below

related: #59402


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@choo121600 choo121600 changed the title Update multiple test modules to remove SQLAlchemy query usage Update multiple test files to remove SQLAlchemy query usage Dec 16, 2025

@potiuk potiuk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better :)

Comment thread airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dag_run.py Outdated
@rich7420

Copy link
Copy Markdown
Contributor

LGTM~

@potiuk potiuk merged commit 5c25ccc into apache:main Dec 17, 2025
126 checks passed
FoxHelms pushed a commit to FoxHelms/airflow that referenced this pull request Dec 17, 2025
…9501)

* Refactor test_timestamp.py to use SQLA2

* Fix regex pattern in pre-commit

* Refactor test_cli_util.py to use SQLA2

* Refactor test_task_instances.py to use SQLA2

* Refactor test_assets_timetable to use SQLA2

* Refactor test_renderedtifields.py to use SQLA2

* Refactor assets test-manager.py to use SQLA2

* Refactor test_dag_run.py to use SQLA2

* Refactor test_otel.py to use SQLA2

* Refactor test_runnable_exec_date_dep.py to use SQLA2 execute pattern

* Refactor deprecated SQLA test_dagwarning.py

* replace 'filter_by' with 'where' method
Lohith625 pushed a commit to Lohith625/airflow that referenced this pull request Dec 19, 2025
…9501)

* Refactor test_timestamp.py to use SQLA2

* Fix regex pattern in pre-commit

* Refactor test_cli_util.py to use SQLA2

* Refactor test_task_instances.py to use SQLA2

* Refactor test_assets_timetable to use SQLA2

* Refactor test_renderedtifields.py to use SQLA2

* Refactor assets test-manager.py to use SQLA2

* Refactor test_dag_run.py to use SQLA2

* Refactor test_otel.py to use SQLA2

* Refactor test_runnable_exec_date_dep.py to use SQLA2 execute pattern

* Refactor deprecated SQLA test_dagwarning.py

* replace 'filter_by' with 'where' method
jhgoebbert pushed a commit to jhgoebbert/airflow_Owen-CH-Leung that referenced this pull request Feb 8, 2026
…9501)

* Refactor test_timestamp.py to use SQLA2

* Fix regex pattern in pre-commit

* Refactor test_cli_util.py to use SQLA2

* Refactor test_task_instances.py to use SQLA2

* Refactor test_assets_timetable to use SQLA2

* Refactor test_renderedtifields.py to use SQLA2

* Refactor assets test-manager.py to use SQLA2

* Refactor test_dag_run.py to use SQLA2

* Refactor test_otel.py to use SQLA2

* Refactor test_runnable_exec_date_dep.py to use SQLA2 execute pattern

* Refactor deprecated SQLA test_dagwarning.py

* replace 'filter_by' with 'where' method
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
…9501)

* Refactor test_timestamp.py to use SQLA2

* Fix regex pattern in pre-commit

* Refactor test_cli_util.py to use SQLA2

* Refactor test_task_instances.py to use SQLA2

* Refactor test_assets_timetable to use SQLA2

* Refactor test_renderedtifields.py to use SQLA2

* Refactor assets test-manager.py to use SQLA2

* Refactor test_dag_run.py to use SQLA2

* Refactor test_otel.py to use SQLA2

* Refactor test_runnable_exec_date_dep.py to use SQLA2 execute pattern

* Refactor deprecated SQLA test_dagwarning.py

* replace 'filter_by' with 'where' method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:dev-tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants