def default_stage(self): def_stage = get_default_stage(self.available_stages) if def_stage: return def_stage else: return self.stages[0] if self.stages else None
def default_stage(self): def_stage = get_default_stage(self.available_stages) if def_stage: return def_stage else: return self.stages[0] if self.stages else None
def default_stage(self): default_stages = [ activity.default_stage for activity in self.activities ] return get_default_stage(default_stages)
def default_stage(self): default_stages = [activity.default_stage for activity in self.activities] return get_default_stage(default_stages)