Common: Add default to PingScanEvent

This commit is contained in:
Ilija Lazoroski 2022-09-27 14:32:51 +02:00 committed by Shreya Malviya
parent b1b9eb394e
commit 799aae4498
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
from pydantic import Field
from common.types import PingScanData
from . import AbstractAgentEvent
@ -11,4 +13,4 @@ class PingScanEvent(AbstractAgentEvent):
:param scan_data: The data collected from the ping scan
"""
scan_data: PingScanData
scan_data: PingScanData = Field(default=None)