예제 #1
0
 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)
예제 #2
0
파일: odb.py 프로젝트: bboerner/zato
 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)
예제 #3
0
 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)
예제 #4
0
파일: odb.py 프로젝트: dsuch/zato
 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)
예제 #5
0
 def get_data(self, session):
     return out_ftp(session, self.server.cluster_id, self.request.input.id)