| Index: dashboard/dashboard/pinpoint/models/attempt.py
|
| diff --git a/dashboard/dashboard/pinpoint/models/attempt.py b/dashboard/dashboard/pinpoint/models/attempt.py
|
| index f40f5d9713a65614a6233afd6089cc0edd4d72c7..a8aeaad33b849e985282ff2aeea3dd0614be72de 100644
|
| --- a/dashboard/dashboard/pinpoint/models/attempt.py
|
| +++ b/dashboard/dashboard/pinpoint/models/attempt.py
|
| @@ -52,6 +52,9 @@ class Attempt(object):
|
| def _last_execution(self):
|
| return self._executions[-1]
|
|
|
| + def AsDict(self):
|
| + return {'executions': [e.AsDict() for e in self._executions]}
|
| +
|
| def ScheduleWork(self):
|
| """Run this Attempt and update its status."""
|
| assert not self.completed
|
|
|