class_docstr: A dataset configuration for datasets obtained directly via GluonTS.
class_docstr_tok: ["A","dataset","configuration","for","datasets","obtained","directly","via","GluonTS","."]
code: def _materialize(
      self, directory: Path, regenerate: bool = False
  ) -> None:
      materialize_dataset(
          self._gluonts_name, directory, regenerate=regenerate
      )
  
imports: import json
  import shutil
  import tempfile
  import urllib.request
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Any, cast, Dict, List, Tuple
  from zipfile import ZipFile
  from gluonts.dataset.common import MetaData
  from gluonts.dataset.repository._tsf_datasets import Dataset
  from gluonts.dataset.repository._tsf_datasets import save_datasets, save_metadata
  from gluonts.dataset.repository._tsf_reader import TSFReader
  from gluonts.dataset.repository.datasets import materialize_dataset
  from tsbench.config.dataset.preprocessing.filters import AbsoluteValueFilter, ConstantTargetFilter, EndOfSeriesCutFilter, MinLengthFilter
  from ._base import DatasetConfig
  from .preprocessing import Filter, read_transform_write
label_desc: Use image node_id 5 for calling the GluonTsDatasetConfig obj's underlying member method code with example usage: obj._materialize(directory, regenerate) without return types