You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/04 16:09:14 UTC

[GitHub] [airflow] pierrejeambrun commented on issue #28093: get_hook() got an unexpected keyword argument 'hook_params'

pierrejeambrun commented on issue #28093:
URL: https://github.com/apache/airflow/issues/28093#issuecomment-1336453420

   Hello @raefezzeldin,
   
   Is this code you are writting or code coming from the provider ?
   
   A quick search on the doc shows that the `hook_params` was added in 2.3.0:
   - [2.2.5 doc](https://airflow.apache.org/docs/apache-airflow/2.2.5/_api/airflow/models/connection/index.html#airflow.models.connection.Connection.get_hook)
   - [2.3.0 doc](https://airflow.apache.org/docs/apache-airflow/2.3.0/_api/airflow/models/connection/index.html#airflow.models.connection.Connection.get_hook)
   
   related PR: https://github.com/apache/airflow/pull/18718/
   
   So this code is not expected to work in `2.2.2` I believe.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org