community: docstrings toolkits (#23616)

Added missed docstrings. Formatted docstrings to the consistent form.
This commit is contained in:
Leonid Ganeline
2024-06-28 05:40:52 -07:00
committed by GitHub
parent 19eb82e68b
commit e4caa41aa9
5 changed files with 45 additions and 7 deletions

View File

@@ -27,10 +27,13 @@ class ConneryToolkit(BaseToolkit):
"""
Validate the attributes of the ConneryToolkit class.
Parameters:
Args:
values (dict): The arguments to validate.
Returns:
dict: The validated arguments.
Raises:
ValueError: If the 'tools' attribute is not set
"""
if not values.get("tools"):
@@ -45,7 +48,7 @@ class ConneryToolkit(BaseToolkit):
Parameters:
connery_service (ConneryService): The Connery Service
to to get the list of Connery Actions.
to get the list of Connery Actions.
Returns:
ConneryToolkit: The Connery Toolkit.
"""