Common: Fix docstring format in PluginConfiguration

This commit is contained in:
Shreya Malviya 2022-07-27 13:12:45 +05:30
parent f941c2aa35
commit 856ce4925b
1 changed files with 16 additions and 14 deletions

View File

@ -30,9 +30,10 @@ class PluginConfiguration:
"""
A configuration for plugins
:param name: Name of the plugin.
Attributes:
:param name: Name of the plugin
Example: "ransomware"
:param options: Any other information/configuration fields relevant to the plugin.
:param options: Any other information/configuration fields relevant to the plugin
Example: {
"encryption": {
"enabled": True,
@ -46,6 +47,7 @@ class PluginConfiguration:
},
}
"""
name: str
options: Dict