Fixed hierarchy for ngrok events

This commit is contained in:
Fabio Manganiello 2021-10-01 23:39:07 +02:00
parent c12c83b386
commit fa17011b24
1 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ class NgrokEvent(Event):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
class NgrokProcessStartedEvent(Event): class NgrokProcessStartedEvent(NgrokEvent):
""" """
Event triggered when the ``ngrok`` process is started. Event triggered when the ``ngrok`` process is started.
""" """
@ -17,7 +17,7 @@ class NgrokProcessStartedEvent(Event):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
class NgrokTunnelStartedEvent(Event): class NgrokTunnelStartedEvent(NgrokEvent):
""" """
Event triggered when a tunnel is started. Event triggered when a tunnel is started.
""" """
@ -25,7 +25,7 @@ class NgrokTunnelStartedEvent(Event):
super().__init__(*args, name=name, url=url, protocol=protocol, **kwargs) super().__init__(*args, name=name, url=url, protocol=protocol, **kwargs)
class NgrokTunnelStoppedEvent(Event): class NgrokTunnelStoppedEvent(NgrokEvent):
""" """
Event triggered when a tunnel is stopped. Event triggered when a tunnel is stopped.
""" """
@ -33,7 +33,7 @@ class NgrokTunnelStoppedEvent(Event):
super().__init__(*args, name=name, url=url, protocol=protocol, **kwargs) super().__init__(*args, name=name, url=url, protocol=protocol, **kwargs)
class NgrokProcessStoppedEvent(Event): class NgrokProcessStoppedEvent(NgrokEvent):
""" """
Event triggered when the ngrok process is stopped. Event triggered when the ngrok process is stopped.
""" """