

def _inject_into_parts(self):
    for collection in [self._states.values(), self._transitions]:
        for component in collection:
            component.machine = self

dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py StateMachine._inject_into_parts/original