| Index: dashboard/dashboard/pinpoint/models/quest/execution.py
|
| diff --git a/dashboard/dashboard/pinpoint/models/quest/execution.py b/dashboard/dashboard/pinpoint/models/quest/execution.py
|
| index f7a89e4a73db21fab44d9a6383813ac5263a8a0a..3e978283efa01c3e311f870ac1de071982e14f71 100644
|
| --- a/dashboard/dashboard/pinpoint/models/quest/execution.py
|
| +++ b/dashboard/dashboard/pinpoint/models/quest/execution.py
|
| @@ -65,6 +65,17 @@ class Execution(object):
|
| assert self.completed
|
| return self._result_arguments
|
|
|
| + def AsDict(self):
|
| + d = {
|
| + 'result_arguments': self.result_arguments if self.completed else {},
|
| + 'result_values': self.result_values if self.completed else None,
|
| + }
|
| + d.update(self._AsDict())
|
| + return d
|
| +
|
| + def _AsDict(self):
|
| + raise NotImplementedError()
|
| +
|
| def Poll(self):
|
| """Update the Execution status."""
|
| assert not self.completed
|
|
|