From 63a97b6d2f17f32705495ea8539fac7d0fbcc216 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 14 Jul 2017 00:21:55 +0300 Subject: [PATCH] Add a TODO --- endpoints/api/repositorynotification.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/endpoints/api/repositorynotification.py b/endpoints/api/repositorynotification.py index 9a812050c..6ff5bb7f2 100644 --- a/endpoints/api/repositorynotification.py +++ b/endpoints/api/repositorynotification.py @@ -193,6 +193,9 @@ class TestRepositoryNotification(RepositoryParamResource): raise NotFound() event_info = NotificationEvent.get_event(test_note.event.name) + + # TODO(jschorr): Stop depending on the worker module's data interface and instead only depend + # on the notification's data interface (to be added). sample_data = event_info.get_sample_data(notification(test_note)) notification_data = build_notification_data(test_note, sample_data)