Source code for platypush.message.event.web.widget
from platypush.message.event import Event
[docs]
class WidgetUpdateEvent(Event):
"""
Event delivered to the dashboard when a widget update request is delivered to it
"""
[docs]
def __init__(self, widget, *args, **kwargs):
"""
:param widget: Widget ID
:type widget: str
"""
super().__init__(widget=widget, *args, **kwargs)
# vim:sw=4:ts=4:et: