utkarsharma2 commented on code in PR #28763:
URL: https://github.com/apache/airflow/pull/28763#discussion_r1065720529
##########
airflow/providers/google/cloud/hooks/gcs.py:
##########
@@ -1174,3 +1177,14 @@ def _parse_gcs_url(gsurl: str) -> tuple[str, str]:
# Remove leading '/' but NOT trailing one
blob = parsed_url.path.lstrip("/")
return bucket, blob
+
+
+class GCSAsyncHook(GoogleBaseAsyncHook):
+ """GCSAsyncHook run on the trigger worker, inherits from
GoogleBaseHookAsync"""
+
+ sync_hook_class = GCSHook
Review Comment:
@phanikumv If this is a constant should be in caps - `SYNC_HOOK_CLASS`
--
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]