code: def configure_dataset_settings(
      name: str, settings: Settings, workspace: Optional[str] = None
  ) -> None:
      """
      Configures a dataset with a set of configured labels. If dataset does not
      exist yet, an empty dataset will be created.
  
      A subset of settings can be provided.
  
      Args:
          name: The dataset name
          settings: The dataset settings
          workspace: The workspace name where the dataset will belongs to
      """
      active_api = singleton.active_api()
      datasets = active_api.datasets
      datasets.configure(
          name,
          workspace=workspace or active_api.get_workspace(),
          settings=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 2 for calling a global function with example usage: configure_dataset_settings(name, settings, workspace) without return types