def _getExpectedShape(self, key=None, dims=None):
    if key is not None:
      dims = self._FieldDims[key]
    if dims is None:
      expectShape = ()
    else:
      shapeList = list()
      for dim in dims:
        shapeList.append(getattr(self,dim))
      expectShape = tuple(shapeList)
    return expectShape
Enables this accrual. Automatically called when one of the
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/suffstats/ParamBag.py/ParamBag._getExpectedShape--crossover with--dataset/ETHPy150Open missionpinball/mpf/mpf/system/logic_blocks.py/Accrual.enable