o-nikolas commented on code in PR #68984:
URL: https://github.com/apache/airflow/pull/68984#discussion_r3484676034


##########
providers/amazon/src/airflow/providers/amazon/aws/transfers/s3_to_sftp.py:
##########
@@ -106,13 +107,34 @@ def get_s3_key(s3_key: str) -> str:
         parsed_s3_key = urlsplit(s3_key)
         return parsed_s3_key.path.lstrip("/")
 
+    def _validate_destination_path(self, destination: str) -> None:

Review Comment:
   Can we not duplicate this method twice? It could easily take the destination 
and the (s)ftp path as input.



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