ishaq101 commited on
Commit
5896d19
·
1 Parent(s): c98bbd4

Update Azure Blob Service Config

Browse files
Files changed (1) hide show
  1. externals/storages/azure_blob.py +6 -6
externals/storages/azure_blob.py CHANGED
@@ -27,13 +27,13 @@ else:
27
 
28
  async def get_blob_service_client() -> BlobServiceClient:
29
  # global _blob_service_client, _credential
 
 
 
 
 
30
 
31
- if _blob_service_client is None:
32
- # _credential = DefaultAzureCredential()
33
- _blob_service_client = BlobServiceClient(
34
- account_url=AzureBlobConstants.ENDPOINT,
35
- credential=credential,
36
- )
37
  logger.info("✅ Azure BlobServiceClient initialized")
38
 
39
  return _blob_service_client
 
27
 
28
  async def get_blob_service_client() -> BlobServiceClient:
29
  # global _blob_service_client, _credential
30
+ # _credential = DefaultAzureCredential()
31
+ _blob_service_client = BlobServiceClient(
32
+ account_url=AzureBlobConstants.ENDPOINT,
33
+ credential=credential,
34
+ )
35
 
36
+ if _blob_service_client is not None:
 
 
 
 
 
37
  logger.info("✅ Azure BlobServiceClient initialized")
38
 
39
  return _blob_service_client