def dataset_id(self, dataset_id: str) -> None:
        """Sets the current dataset ID for the client.

        Args:
            dataset_id:
                The new dataset id.

        Raises:
            ValueError if the dataset does not exist.
        """
        if not self.dataset_exists(dataset_id):
            raise ValueError(
                f"A dataset with the id {dataset_id} does not exist on the web"
                f"platform."
            )
        self._dataset_id = dataset_id
Sets the current dataset ID for the client.

        Args:
            dataset_id:
                The new dataset id.

        Raises:
            ValueError if the dataset does not exist.
        
lightly/api/api_workflow_client.py