class_docstr: Interact with FTPS.
class_docstr_tok: ["Interact","with","FTPS","."]
docstr: Return an FTPS connection object.
docstr_tok: ["Return","an","FTPS","connection","object","."]
code: def get_conn(self) -> ftplib.FTP:
      """Return an FTPS connection object."""
      if self.conn is None:
          params = self.get_connection(self.ftp_conn_id)
          pasv = params.extra_dejson.get("passive", True)
  
          if params.port:
              ftplib.FTP_TLS.port = params.port
  
          self.conn = ftplib.FTP_TLS(
              params.host, params.login, params.password
          )  # nosec: B321
          self.conn.set_pasv(pasv)
  
      return self.conn
  
imports: from __future__ import annotations
  import datetime
  import ftplib
  from typing import Any, Callable
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 1 for calling the FTPSHook obj's underlying member method code with example usage: obj.get_conn() and returns: self