forked from p34709852/monkey
Common: Remove default from AbstractAgentEvent source field
This commit is contained in:
parent
9ada95c126
commit
a44f763fab
|
@ -24,7 +24,7 @@ class AbstractAgentEvent(InfectionMonkeyBaseModel, ABC):
|
|||
:param tags: The set of tags associated with the event
|
||||
"""
|
||||
|
||||
source: AgentID = Field(default=None)
|
||||
source: AgentID
|
||||
target: Union[MachineID, IPv4Address, None] = Field(default=None)
|
||||
timestamp: float = Field(default_factory=time.time)
|
||||
tags: FrozenSet[str] = Field(default_factory=frozenset)
|
||||
|
|
Loading…
Reference in New Issue