Add docstring for the method DecortAccountInfo.mapped_rg_params

This commit is contained in:
dyusmirnov committed 2024-07-19 18:18:45 +03:00
1 parent a46ed24168
commit 25795e9fe9
1 file changed
+7
+7
View File
@@ -304,6 +304,13 @@ class DecortAccountInfo(DecortController):
@property @property
def mapped_rg_params(self) -> None | dict: def mapped_rg_params(self) -> None | dict:
"""
Map the module parameter `resource_groups` to
parameters dictionary for the method
`DecortController.account_resource_groups`
(excluding for `account_id`).
"""
input_params = self.amodule.params['resource_groups'] input_params = self.amodule.params['resource_groups']
if not input_params: if not input_params:
return input_params return input_params