class_docstr: Connects to an Azure Blob Storage service account.
class_docstr_tok: ["Connects","to","an","Azure","Blob","Storage","service","account","."]
docstr: Lists files within the specified container that have the specified file prefix.
  Lists all files if file_prefix is None.
docstr_tok: ["Lists","files","within","the","specified","container","that","have","the","specified","file","prefix",".","Lists","all","files","if","file_prefix","is","None","."]
code: def list_files(
      self,
      container_name: str,
      file_prefix: Optional[Union[str, Path]] = None,
  ) -> Dict[str, int]:
      """Lists files within the specified container that have the specified file prefix.
      Lists all files if file_prefix is None.
      """
      container = self.client.get_container_client(container_name)
      files = {
          blob["name"]: blob["size"]
          for blob in container.list_blobs(name_starts_with=file_prefix)
      }
      return files
  
file_path: determined/harness/determined/common/storage/azure_client.py
imports: import logging
  from pathlib import Path
  from typing import Dict, List, Optional, Union
  from determined.common import util
label_desc: Use image node_id 5 for calling the AzureStorageClient obj's underlying member method code with example usage: obj.list_files(container_name, file_prefix) and returns: files