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

    Loads the settings of a dataset

    Args:
        name: The dataset name
        workspace: The workspace name where the dataset belongs to

    Returns:
        The dataset settings
    
argilla-v1/src/argilla_v1/datasets/__init__.py