forked from p15670423/monkey
Common: Add default to PingScanEvent
This commit is contained in:
parent
b1b9eb394e
commit
799aae4498
|
@ -1,3 +1,5 @@
|
||||||
|
from pydantic import Field
|
||||||
|
|
||||||
from common.types import PingScanData
|
from common.types import PingScanData
|
||||||
|
|
||||||
from . import AbstractAgentEvent
|
from . import AbstractAgentEvent
|
||||||
|
@ -11,4 +13,4 @@ class PingScanEvent(AbstractAgentEvent):
|
||||||
:param scan_data: The data collected from the ping scan
|
:param scan_data: The data collected from the ping scan
|
||||||
"""
|
"""
|
||||||
|
|
||||||
scan_data: PingScanData
|
scan_data: PingScanData = Field(default=None)
|
||||||
|
|
Loading…
Reference in New Issue