ferruzzi opened a new issue, #37838:
URL: https://github.com/apache/airflow/issues/37838

   ### Apache Airflow version
   
   2.8.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   It looks like https://github.com/apache/airflow/pull/37246 has broken the 
mypy-providers test for multiple providers since they subclass DBApiHook and 
their insert_rows method signatures no longer match the super()
   
   Providers affected:
   - [ ] trino
   - [ ] presto
   - [ ] oracle
   - [ ] google/bigquery
   - [ ] apache/pinot
   - [ ] apache/druid
   
   Relevant portion of output from `breeze static-checks --all-files`
   
![image](https://github.com/apache/airflow/assets/1920178/2b18617d-d083-46ec-8438-e8eec5902b8a)
   
   
   ### What you think should happen instead?
   
   I think the `insert_rows` method in each of those classes need to add 
`executemany` to their signatures to match the parent class's signature, but I 
don't know enough about their particular usecases to know how they should 
default.
   
   ### How to reproduce
   
   I noticed it while running `breeze static-checks --all-files`, I'm sure 
there are other faster/easier ways to repro it.
   
   ### Operating System
   
   na
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to