0

I am using AppendBlobService and BlobServiceClient in my Azure function app for two different use cases.

For AppendBlobService I need azure-storage-blob==2.1.0 version and for BlobServiceClient I need azure-storage-blob version < 12.

How can we use both AppendBlobService and BlobServiceClient together in Azure function by avoiding version conflicts.

SanjanaSanju
  • 261
  • 2
  • 18

1 Answers1

0

According to Microsoft-Document it says,

Gets a reference to a BlobClient object by calling the get_blob_clientmethod on the BlobServiceClient from the Create a container section.

So you can use: from azure.storage.blob import BlobServiceClient

References:

RithwikBojja
  • 5,069
  • 2
  • 3
  • 7