def _instantiate_next_activities(self):
    for activity in self._get_next_activities():
        activity.instantiate(predecessor=self)
def _instantiate_next_activities(self):
    for activity in self._get_next_activities():
        activity.instantiate(predecessor=self)