From 856ce4925b56c1a769e24fa82337561b5bbb9293 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Wed, 27 Jul 2022 13:12:45 +0530 Subject: [PATCH] Common: Fix docstring format in PluginConfiguration --- .../agent_sub_configurations.py | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/monkey/common/agent_configuration/agent_sub_configurations.py b/monkey/common/agent_configuration/agent_sub_configurations.py index 7707a9bde..5c054d471 100644 --- a/monkey/common/agent_configuration/agent_sub_configurations.py +++ b/monkey/common/agent_configuration/agent_sub_configurations.py @@ -30,22 +30,24 @@ class PluginConfiguration: """ A configuration for plugins - :param name: Name of the plugin. - Example: "ransomware" - :param options: Any other information/configuration fields relevant to the plugin. - Example: { - "encryption": { - "enabled": True, - "directories": { - "linux_target_dir": "~/this_dir", - "windows_target_dir": "C:\that_dir" + Attributes: + :param name: Name of the plugin + Example: "ransomware" + :param options: Any other information/configuration fields relevant to the plugin + Example: { + "encryption": { + "enabled": True, + "directories": { + "linux_target_dir": "~/this_dir", + "windows_target_dir": "C:\that_dir" + }, }, - }, - "other_behaviors": { - "readme": True - }, - } + "other_behaviors": { + "readme": True + }, + } """ + name: str options: Dict