code: def data(self, eight_schools_params, draws, chains):
      class Data:
          model, obj = load_cached_models(
              eight_schools_params, draws, chains, "pystan"
          )["pystan"]
  
      return Data
  
imports: import importlib
  from collections import OrderedDict
  import numpy
  import pytest
  from ...None import from_pystan
  from ...data.io_pystan import get_draws, get_draws_stan3
  from ..helpers import chains, check_multiple_attrs, draws, eight_schools_params, importorskip, load_cached_models, pystan_version, running_on_ci
label_desc: Use image node_id 1 for calling the TestDataPyStan obj's underlying member method code with example usage: obj.data(eight_schools_params, draws, chains) and returns: Data