def adata_parameterized(request):
    return gen_adata(shape=(200, 300), X_type=request.param)
def serialize(self):
        s = []
        for v in self:
            if isinstance(v, BaseConfig):
                v = v.serialize()
            s.append(v)
        return s