class_docstr: A temporary dataset.
code: def allocate(self) -> None:
      self.repo_id = create_empty_hub_dataset_repo(
          prefix=self.prefix,
          gated="auto" if self.gated else None,
          private=self.private,
      )
  
imports: import time
  from contextlib import suppress
  from dataclasses import dataclass, field
  from pathlib import Path
  from typing import Any, Optional, Union
  import requests
  from huggingface_hub.community import DiscussionComment, DiscussionWithDetails
  from huggingface_hub.constants import REPO_TYPE_DATASET, REPO_TYPES, REPO_TYPES_URL_PREFIXES
  from huggingface_hub.hf_api import HfApi
  from huggingface_hub.utils._errors import hf_raise_for_status
  from libcommon.resources import Resource
  from .constants import CI_HUB_ENDPOINT, CI_PARQUET_CONVERTER_USER, CI_USER, CI_USER_TOKEN
label_desc: Use image node_id 1 for calling the TemporaryDataset obj's underlying member method code with example usage: obj.allocate() without return types