From acf877f3d836ea57296fa19d0eed09e08d6d6c16 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Tue, 27 Sep 2022 21:01:31 +0200 Subject: [PATCH] Common: Remove default from PingScanEvent --- monkey/common/agent_events/ping_scan_event.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/monkey/common/agent_events/ping_scan_event.py b/monkey/common/agent_events/ping_scan_event.py index b91ee9fc4..bfb650f04 100644 --- a/monkey/common/agent_events/ping_scan_event.py +++ b/monkey/common/agent_events/ping_scan_event.py @@ -1,5 +1,3 @@ -from pydantic import Field - from common.types import PingScanData from . import AbstractAgentEvent @@ -13,4 +11,4 @@ class PingScanEvent(AbstractAgentEvent): :param scan_data: The data collected from the ping scan """ - scan_data: PingScanData = Field(default=None) + scan_data: PingScanData