From fa17011b2400e7bc29defe3d77f8c94f9c25e442 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 1 Oct 2021 23:39:07 +0200 Subject: [PATCH] Fixed hierarchy for ngrok events --- platypush/message/event/ngrok.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platypush/message/event/ngrok.py b/platypush/message/event/ngrok.py index b01fc555f..119231cf8 100644 --- a/platypush/message/event/ngrok.py +++ b/platypush/message/event/ngrok.py @@ -9,7 +9,7 @@ class NgrokEvent(Event): super().__init__(*args, **kwargs) -class NgrokProcessStartedEvent(Event): +class NgrokProcessStartedEvent(NgrokEvent): """ Event triggered when the ``ngrok`` process is started. """ @@ -17,7 +17,7 @@ class NgrokProcessStartedEvent(Event): super().__init__(*args, **kwargs) -class NgrokTunnelStartedEvent(Event): +class NgrokTunnelStartedEvent(NgrokEvent): """ Event triggered when a tunnel is started. """ @@ -25,7 +25,7 @@ class NgrokTunnelStartedEvent(Event): super().__init__(*args, name=name, url=url, protocol=protocol, **kwargs) -class NgrokTunnelStoppedEvent(Event): +class NgrokTunnelStoppedEvent(NgrokEvent): """ Event triggered when a tunnel is stopped. """ @@ -33,7 +33,7 @@ class NgrokTunnelStoppedEvent(Event): super().__init__(*args, name=name, url=url, protocol=protocol, **kwargs) -class NgrokProcessStoppedEvent(Event): +class NgrokProcessStoppedEvent(NgrokEvent): """ Event triggered when the ngrok process is stopped. """