Description
We should add a pre-commit that prevents the use of session.query in airflow core. We should limit it to the source and not the tests/ package for now. The core airflow was almost rid of session.query, but the usage is gradually increasing. Adding this would require fixing all the session.query usages in the core code
Use case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Description
We should add a pre-commit that prevents the use of
session.queryin airflow core. We should limit it to the source and not the tests/ package for now. The core airflow was almost rid ofsession.query, but the usage is gradually increasing. Adding this would require fixing all thesession.queryusages in the core codeUse case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct