Skip to content

Conversation

@Prab-27
Copy link
Contributor

@Prab-27 Prab-27 commented Jun 23, 2025

This hook checks usage of session.query() since SQLAlchemy 2.0 deprecates the Query object

Related discussion .

Related PR : #47275


^ 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.

@potiuk
Copy link
Member

potiuk commented Jun 23, 2025

nice!

@potiuk
Copy link
Member

potiuk commented Jun 23, 2025

Som doc fixes?

@potiuk
Copy link
Member

potiuk commented Jun 23, 2025

Ah - looks intermittent. Will re-run when completed

@potiuk
Copy link
Member

potiuk commented Jun 23, 2025

re-run it

@Prab-27 Prab-27 force-pushed the add-pre-commit-to-prevent-usage-of-session-query branch from 75f58e2 to 8c66c73 Compare June 23, 2025 11:38
@potiuk
Copy link
Member

potiuk commented Jun 23, 2025

Nice !

@Prab-27
Copy link
Contributor Author

Prab-27 commented Jun 23, 2025

Nice !

Sorry Wait I forgot to update the file name from pre-commit hook
Just updated it now !

@potiuk potiuk merged commit 93a6dbf into apache:main Jun 23, 2025
98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants