shahar1 commented on code in PR #72194:
URL: https://github.com/apache/airflow/pull/72194#discussion_r4015702789


##########
providers/google/src/airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py:
##########
@@ -264,12 +264,12 @@ def __init__(
         self.api_version = api_version
         self.project_id = project_id
         self.google_impersonation_chain = google_impersonation_chain
-        self._validate_inputs()
 
     def _validate_inputs(self) -> None:
         TransferJobValidator(body=self.body).validate_body()
 
     def execute(self, context: Context) -> dict:
+        self._validate_inputs()

Review Comment:
   Good catch, but doesn't seem related to the PR.
   Could you please create a separate PR for that? (it also needs to be removed 
from generated/validate_operators_init_exemptions.txt)



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