hussein-awala commented on PR #35966:
URL: https://github.com/apache/airflow/pull/35966#issuecomment-1834653996

   > `AwsGenericHook` so called because it use 
[Generic](https://docs.python.org/3/library/typing.html#generics) for the 
typing annotation.
   > 
   > So basically all the things could be done by simple setup classes
   > 
   > ```python
   > class SomeAwsHook(AwsGenericHook["SomeBoto3Client"]):
   >     ...
   > ```
   > 
   > And `conn` property and `get_conn` will apply required type
   
   Yes, I plan to try replacing the overriding of `get_conn()` and 
`async_conn()` with something generic in the generic hook, but I don't think 
that a simple setup class will be sufficient for that, I will try your 
suggestion, I hope it works.


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