Index: dashboard/dashboard/pinpoint/models/quest/read_value.py |
diff --git a/dashboard/dashboard/pinpoint/models/quest/read_value.py b/dashboard/dashboard/pinpoint/models/quest/read_value.py |
index e61bfc56fd955877d4b7349369c87c4370fd11f5..ca49e00e10e1719c7395dbe18c7865565afdda44 100644 |
--- a/dashboard/dashboard/pinpoint/models/quest/read_value.py |
+++ b/dashboard/dashboard/pinpoint/models/quest/read_value.py |
@@ -35,6 +35,11 @@ class _ReadChartJsonValueExecution(execution.Execution): |
self._test = test or 'summary' |
self._isolate_hash = isolate_hash |
+ def _AsDict(self): |
+ return { |
+ 'isolate_hash': self._isolate_hash |
+ } |
+ |
def _Poll(self): |
test_output = isolate_service.Retrieve(self._isolate_hash) |
chartjson_isolate_hash = test_output['files']['chartjson-output.json']['h'] |
@@ -91,6 +96,11 @@ class _ReadGraphJsonValueExecution(execution.Execution): |
self._trace = trace |
self._isolate_hash = isolate_hash |
+ def _AsDict(self): |
+ return { |
+ 'isolate_hash': self._isolate_hash |
+ } |
+ |
def _Poll(self): |
test_output = isolate_service.Retrieve(self._isolate_hash) |
graphjson_isolate_hash = test_output['files']['chartjson-output.json']['h'] |