From f9bed82e7abeb3afe611e7a494c088f833b23797 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 27 Jul 2022 15:45:55 +0530 Subject: [PATCH] Common: Add docstring to ICMPScanConfiguration dataclass --- .../common/agent_configuration/agent_sub_configurations.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index 188b9d1bb..e531d1f30 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -41,6 +41,13 @@ class ScanTargetConfiguration: @dataclass(frozen=True) class ICMPScanConfiguration: + """ + A configuration for ICMP scanning + + Attributes: + :param timeout: Maximum time that the agent should wait for a response from the target + """ + timeout: float