Example #1
0
 def _plans_for_milestone(self, obj):
     plans = filter(lambda p: p.milestone is not None, self.plans())
     return PlanContainer(filter(lambda p: p.milestone.id == obj.id, plans))
Example #2
0
 def plans(self):
     return PlanContainer(list(map(Plan, self.api.plans(self._project_id))))