uranusjr commented on code in PR #69208:
URL: https://github.com/apache/airflow/pull/69208#discussion_r3527413910
##########
providers/common/compat/src/airflow/providers/common/compat/hook/__init__.py:
##########
@@ -18,25 +17,30 @@
from __future__ import annotations
-from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
+import logging
+from airflow.providers.common.compat.sdk import BaseHook
-class NeptuneAnalyticsHook(AwsBaseHook):
- """
- Interact with Amazon Neptune Analytics.
+log = logging.getLogger(__name__)
- Additional arguments (such as ``aws_conn_id``) may be specified and
- are passed down to the underlying AwsBaseHook.
- .. seealso::
- - :class:`~airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook`
+async def get_async_hook(conn_id: str, hook_params: dict | None = None) ->
BaseHook:
"""
+ Get an asynchronous Airflow connection that is backwards compatible.
Review Comment:
```suggestion
Get an asynchronous Airflow hook that is backwards compatible.
```
--
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]