blob-upload-2_3.py 320 B

123456789
  1. def _get_service(self):
  2. if not hasattr(self, '_blob_service'):
  3. self._blob_service = BlobService(
  4. account_name=self.account_name,
  5. account_key=self.account_key,
  6. protocol='https' if self.use_ssl else 'http'
  7. )
  8. return self._blob_service