Add .event property to ActivityNotification
@@ -41,6 +41,10 @@ def progress(self):
def key(self):
return self["Activity"]["Context"]["key"]
+ @property
+ def event(self):
+ return self["event"]
+
class BackgroundProcessingQueueEventNotification(Event):
pass
