def _get_service(self): if not hasattr(self, '_blob_service'): self._blob_service = BlobService( account_name=self.account_name, account_key=self.account_key, protocol='https' if self.use_ssl else 'http' ) return self._blob_service