@property
    def sftp(self):
        if not hasattr(self, '_sftp'):
            self._connect()
        return self._sftp
Lazy SFTP connection
dataset/ETHPy150Open jschneier/django-storages/storages/backends/sftpstorage.py/SFTPStorage.sftp