class_docstr: A resource that represents a connection to a storage client.
  
  Args:
      protocol (:obj:`str`): The fsspec protocol (supported s3 or file)
      storage_root (:obj:`str`): The storage root path
      base_url (:obj:`str`): The base url for the publicly distributed assets
      overwrite (:obj:`bool`, `optional`, defaults to :obj:`False`): Whether to overwrite existing files
code: def delete_dataset_directory(self, dataset: str) -> None:
      dataset_key = self.get_full_path(dataset)
      try:
          self._fs.rm(dataset_key, recursive=True)
          logging.info(f"Directory deleted: {dataset_key}")
      except Exception:
          logging.warning(f"Could not delete directory {dataset_key}")
  
file_path: datasets-server/libs/libcommon/src/libcommon/storage_client.py
imports: import logging
  from typing import Any
  import fsspec
label_desc: Use image node_id 7 for calling the StorageClient obj's underlying member method code with example usage: obj.delete_dataset_directory(dataset) without return types