code: def mock_client():
      # Make sure that our environment variable aren't set to actually access Azure
      old_access_key = os.environ.get("AZURE_STORAGE_ACCESS_KEY")
      if old_access_key is not None:
          del os.environ["AZURE_STORAGE_ACCESS_KEY"]
      old_conn_string = os.environ.get(
          "AZURE_STORAGE_CONNECTION_STRING"
      )
      if old_conn_string is not None:
          del os.environ["AZURE_STORAGE_CONNECTION_STRING"]
  
      yield mock.MagicMock(autospec=BlobServiceClient)
  
      if old_access_key is not None:
          os.environ["AZURE_STORAGE_ACCESS_KEY"] = old_access_key
      if old_conn_string is not None:
          os.environ[
              "AZURE_STORAGE_CONNECTION_STRING"
          ] = old_conn_string
  
imports: import base64
  import os
  import posixpath
  from unittest import mock
  import pytest
  from azure.storage.blob import BlobPrefix, BlobProperties, BlobServiceClient
  from mlflow.entities.multipart_upload import MultipartUploadPart
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.azure_blob_artifact_repo import AzureBlobArtifactRepository
label_desc: Use image node_id 1 for calling a global function with example usage: mock_client() without return types