Island: Move param docstring to __call__ method

This commit is contained in:
Kekoa Kaaikala 2022-09-29 19:43:14 +00:00
parent c1dcb285ae
commit a267f02ca9
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,6 @@ logger = getLogger(__name__)
class handle_ping_scan_event:
"""
Handles ping scan event and makes changes to Machine and Node states based on it
:param event: Ping scan event
"""
def __init__(
@ -33,6 +32,9 @@ class handle_ping_scan_event:
self._node_repository = node_repository
def __call__(self, event: PingScanEvent):
"""
:param event: Ping scan event to process
"""
if not event.response_received:
return