code: def load_dataset_settings(
      name: str, workspace: Optional[str] = None
  ) -> Optional[Settings]:
      """
      Loads the settings of a dataset
  
      Args:
          name: The dataset name
          workspace: The workspace name where the dataset belongs to
  
      Returns:
          The dataset settings
      """
      active_api = singleton.active_api()
      datasets = active_api.datasets
  
      settings = datasets.load_settings(name, workspace=workspace)
      if settings is None:
          return None
      else:
          return settings
  
file_path: argilla/src/argilla/datasets/__init__.py
imports: import logging
  import warnings
  from typing import Optional
  from argilla.client import singleton
  from argilla.client.apis.datasets import Settings, TextClassificationSettings, TokenClassificationSettings
label_desc: Use image node_id 1 for calling a global function with example usage: load_dataset_settings(name, workspace) and returns: None, settings