def adata_parameterized(request):
    return gen_adata(shape=(200, 300), X_type=request.param)
def __init__(self):
        super(TransactionStates, self).__init__()
        self._states = defaultdict(TransactionState)