def load_settings(self, name: str, workspace: Optional[str] = None) -> Optional[Settings]:
        """
        Load the dataset settings

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

        Returns:
            Settings defined for the dataset
        """
        dataset = self.find_by_name(name, workspace=workspace)
        try:
            with api_compatibility(self, min_version="1.0"):
                params = {"workspace": dataset.workspace} if dataset.workspace else {}
                response = self.http_client.get(
                    f"{self._API_PREFIX}/{dataset.name}/{dataset.task.value}/settings", params=params
                )
                return __TASK_TO_SETTINGS__.get(dataset.task).from_dict(response)
        except NotFoundApiError:
            return None
        except Exception:
            return None

        Load the dataset settings

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

        Returns:
            Settings defined for the dataset
        
argilla-v1/src/argilla_v1/client/apis/datasets.py