code: def __init__(
      self,
      storage_config: Dict[str, Any],
      storage_paths: List[str],
      local_dir: str,
  ):
      from azure.storage import blob
  
      connection_string = storage_config.get("connection_string")
      container = storage_config.get("container")
      account_url = storage_config.get("account_url")
      credential = storage_config.get("credential")
  
      if storage_config.get("connection_string"):
          self.client = blob.BlobServiceClient.from_connection_string(
              connection_string
          )
      elif account_url:
          self.client = blob.BlobServiceClient(account_url, credential)
      else:
          raise ValueError(
              "Either 'container_string' or 'account_url' must be specified."
          )
  
      if container is None:
          raise ValueError("'container' must be specified.")
  
      self.container_name = (
          container if not container.endswith("/") else container[:-1]
      )
  
      self.local_dir = local_dir
      self.storage_paths = storage_paths
      self._file_records = {}
  
file_path: determined/harness/determined/tensorboard/fetchers/azure.py
imports: import datetime
  import logging
  import os
  import urllib
  from typing import Any, Callable, Dict, Generator, List
  from .base import Fetcher
label_desc: Use image node_id 1 to create a new AzureFetcher object from inherited base classes: Fetcher with example: obj = AzureFetcher(storage_config, storage_paths, local_dir)