code: def __init__(self, n_samples, n_features, task, gen):
      super().__init__(
          n_samples=n_samples,
          n_features=n_features,
          task=task,
      )
  
      self._gen = gen
  
file_path: river/river/evaluate/gen.py
imports: from __future__ import annotations
  from river import datasets
label_desc: Use image node_id 1 to create a new WrappedGenerator object from inherited base classes: datasets.base with example: obj = WrappedGenerator(n_samples, n_features, task, gen)