Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1036)

Unified Diff: dashboard/dashboard/pinpoint/models/quest/execution.py

Issue 3001163002: Pinpoint - Surface info from executions for display in UI. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..498cf1facddbe6a351c24126039ca9c315373c6c 100644
--- a/dashboard/dashboard/pinpoint/models/quest/execution.py
+++ b/dashboard/dashboard/pinpoint/models/quest/execution.py
@@ -65,6 +65,12 @@ class Execution(object):
assert self.completed
return self._result_arguments
+ def AsDict(self):
dtu 2017/08/21 23:52:52 Reason I wanted this is so we could expose result_
shatch 2017/08/22 01:23:55 Done.
+ return self._AsDict()
+
+ def _AsDict(self):
+ return {}
dtu 2017/08/21 23:52:53 raise NotImplementedError()
shatch 2017/08/22 01:23:55 Done.
+
def Poll(self):
"""Update the Execution status."""
assert not self.completed

Powered by Google App Engine
This is Rietveld 408576698