| 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..7def5a0d907e41c5c79cf990806187c7f8c575b2 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 [e.AsDict() for e in self._executions]
|
| +
|
| def ScheduleWork(self):
|
| """Run this Attempt and update its status."""
|
| assert not self.completed
|
|
|