dirrao commented on code in PR #36909:
URL: https://github.com/apache/airflow/pull/36909#discussion_r1459398758


##########
airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py:
##########
@@ -236,7 +236,9 @@ def __init__(
         **kwargs,
     ) -> None:
         super().__init__(**kwargs)
-        self.body = deepcopy(body)
+        self.body = body
+        if isinstance(self.body, dict):
+            self.body = deepcopy(body)

Review Comment:
   The type is declared as dict and why we are handling the non dict case 
inside? 



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