Repository navigation
Resolve SA warnings in migrations scripts - #39418
Merged
Merged
Conversation
Taragolis
commented
May 5, 2024
dirrao
approved these changes
May 6, 2024
uranusjr
approved these changes
May 6, 2024
syedahsn
approved these changes
May 6, 2024
hussein-awala
approved these changes
May 6, 2024
pateash
pushed a commit
to pateash/airflow
that referenced
this pull request
May 13, 2024
ephraimbuddy
pushed a commit
that referenced
this pull request
Jun 4, 2024
(cherry picked from commit 5e58723)
utkarsharma2
pushed a commit
that referenced
this pull request
Jun 5, 2024
(cherry picked from commit 5e58723)
13 of 41 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
{ "category": "sqlalchemy.exc.RemovedIn20Warning", "message": "The legacy calling style of select() is deprecated and will be removed in SQLAlchemy 2.0. Please use the new calling style described at select(). (Background on SQLAlchemy 2.0 at: [https://sqlalche.me/e/b8d9)",](https://sqlalche.me/e/b8d9)%22,) "filename": "airflow/migrations/versions/0102_2_3_0_switch_xcom_table_to_use_run_id.py", "lineno": 95, "when": "runtest", "node_id": "tests/integration/providers/qdrant/hooks/test_qdrant.py::TestQdrant::test_connection" }{ "category": "sqlalchemy.exc.SAWarning", "message": "implicitly coercing SELECT object to scalar subquery; please use the .scalar_subquery() method to produce a scalar subquery.", "filename": "airflow/migrations/versions/0093_2_2_0_taskinstance_keyed_to_dagrun.py", "lineno": 407, "when": "runtest", "node_id": "tests/auth/managers/test_base_auth_manager.py::TestBaseAuthManager::test_security_manager_return_default_security_manager" }{ "category": "sqlalchemy.exc.SAWarning", "message": "implicitly coercing SELECT object to scalar subquery; please use the .scalar_subquery() method to produce a scalar subquery.", "filename": "airflow/migrations/versions/0104_2_3_0_migrate_rtif_to_use_run_id_and_map_index.py", "lineno": 105, "when": "runtest", "node_id": "tests/auth/managers/test_base_auth_manager.py::TestBaseAuthManager::test_security_manager_return_default_security_manager" }{ "category": "sqlalchemy.exc.SAWarning", "message": "implicitly coercing SELECT object to scalar subquery; please use the .scalar_subquery() method to produce a scalar subquery.", "filename": "airflow/migrations/versions/0105_2_3_0_add_map_index_to_taskfail.py", "lineno": 101, "when": "runtest", "node_id": "tests/auth/managers/test_base_auth_manager.py::TestBaseAuthManager::test_security_manager_return_default_security_manager" }^ 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.rstor{issue_number}.significant.rst, in newsfragments.