Skip to content

Commit b1e506b

Browse files
authored
fix(providers/google): add missing sync_hook_class to CloudDataTransferServiceAsyncHook (#41417)
1 parent 51867f0 commit b1e506b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ def operations_contain_expected_statuses(
552552
class CloudDataTransferServiceAsyncHook(GoogleBaseAsyncHook):
553553
"""Asynchronous hook for Google Storage Transfer Service."""
554554

555+
sync_hook_class = CloudDataTransferServiceHook
556+
555557
def __init__(self, project_id: str = PROVIDE_PROJECT_ID, **kwargs: Any) -> None:
556558
super().__init__(**kwargs)
557559
self.project_id = project_id

0 commit comments

Comments
 (0)