code: def data(self, eight_schools_params, draws, chains):
      class Data:
          obj = load_cached_models(
              eight_schools_params, draws, chains, "numpyro"
          )["numpyro"]
  
      return Data
  
file_path: arviz/arviz/tests/external_tests/test_data_numpyro.py
imports: from collections import namedtuple
  import numpy
  import pytest
  from ...data.io_numpyro import from_numpyro
  from ..helpers import chains, check_multiple_attrs, draws, eight_schools_params, importorskip, load_cached_models
label_desc: Use image node_id 1 for calling the TestDataNumPyro obj's underlying member method code with example usage: obj.data(eight_schools_params, draws, chains) and returns: Data