def delete(self, name: str, workspace: Optional[str] = None):
        """Deletes a dataset.

        Args:
            name: The dataset name.
        """
        if workspace is not None:
            self.set_workspace(workspace)

        _LOGGER.info(f"Dataset {name} is being delete by {self._user.id}")
        datasets_api.delete_dataset(client=self.http_client, name=name)
Deletes a dataset.

        Args:
            name: The dataset name.
        
argilla-v1/src/argilla_v1/client/client.py