code: def _iter_synth_datasets():
      for variant in range(10):
          dataset = functools.partial(
              datasets.synth.Agrawal, classification_function=variant
          )
          functools.update_wrapper(dataset, datasets.synth.Agrawal)
          yield dataset
  
      synth = importlib.import_module("river.datasets.synth")
      for name, dataset in inspect.getmembers(synth, inspect.isclass):
          # TODO: test the following synth datasets also
          if name in ("RandomRBF", "RandomRBFDrift", "RandomTree"):
              continue
          yield dataset
  
file_path: river/river/datasets/test_datasets.py
imports: from __future__ import annotations
  import functools
  import importlib
  import inspect
  import itertools
  from urllib import request
  import pytest
  from river import datasets
  from .None import base
label_desc: Use image node_id 5 for calling a global function with example usage: _iter_synth_datasets() without return types