ferruzzi commented on code in PR #28318:
URL: https://github.com/apache/airflow/pull/28318#discussion_r1046433494


##########
airflow/providers/ftp/operators/ftp.py:
##########
@@ -130,3 +130,20 @@ def execute(self, context: Any) -> str | list[str] | None:
                 self.log.info("Starting to transfer file %s", file_msg)
                 self.hook.store_file(remote_filepath, local_filepath)
         return self.local_filepath
+
+
+class FTPSFileTransmitOperator(FTPFileTransmitOperator):
+    """
+    FTPSFileTransmitOperator for transferring files from remote host to local 
or vice a versa.
+    This operator uses an FTPSHook to open ftps transport channel that serve 
as basis
+    for file transfer.
+
+    .. seealso::
+        For more information on how to use this operator, take a look at the 
guide:
+        :ref:`howto/operator:FTPSFileTransmitOperator`
+    """
+
+    @cached_property
+    def hook(self) -> FTPSHook:
+        """Create and return an FTPHook."""

Review Comment:
   ```suggestion
           """Create and return an FTPSHook."""
   ```



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