From 9c6494ecb5c0bd781f1007012a153cc61f883855 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 11 Dec 2020 11:58:11 +0100 Subject: [PATCH] modified docstrings --- pype/modules/base.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pype/modules/base.py b/pype/modules/base.py index 6ba9022f95..72d0eb4503 100644 --- a/pype/modules/base.py +++ b/pype/modules/base.py @@ -290,7 +290,11 @@ class ModulesManager: module.connect_with_modules(enabled_modules) def get_enabled_modules(self): - """Enabled modules initialized by the manager.""" + """Enabled modules initialized by the manager. + + Returns: + list: Initialized and enabled modules. + """ return [ module for module in self.modules @@ -323,10 +327,11 @@ class ModulesManager: def collect_plugin_paths(self): """Helper to collect all plugins from modules inherited IPluginPaths. - Output is dictionary with keys "publish", "create", "load" and - "actions" each containing list of paths. - Unknown keys are logged out. + + Returns: + dict: Output is dictionary with keys "publish", "create", "load" + and "actions" each containing list of paths. """ # Output structure output = {