Add .event property to ActivityNotification
MODIFY
plextraktsync/events.py
plextraktsync/events.py
@@ -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

Add .event property to ActivityNotification