def get_out_ftp(self, cluster_id, out_id): """ Returns an outgoing FTP connection's details. """ with closing(self.session()) as session: return query.out_ftp(session, cluster_id, out_id)
def get_out_ftp(self, cluster_id, out_id): """ Returns an outgoing FTP connection's details. """ return out_ftp(self._session, cluster_id, out_id)
def get_data(self, session): return out_ftp(session, self.server.cluster_id, self.request.input.id)