diff --git a/packit_service/worker/result.py b/packit_service/worker/result.py index 5ce8260a4..e726855ba 100644 --- a/packit_service/worker/result.py +++ b/packit_service/worker/result.py @@ -17,14 +17,13 @@ class TaskResults(dict): def __init__(self, success: bool, details: Dict[str, Any] = None): """ - - :param success: has the job handler succeeded: - True - we processed the event - False - there was an error while processing it - - usually an exception - :param details: more info from job handler - (optional) 'msg' key contains a message - more keys to be defined + Args: + success: Represents the resulting state of the job handler. + `True`, if we processed the event; `False` an error occurred + while processing it (usually an exception) + details: More information provided by the handler. Optionally + contains the `msg` key with message from the handler. Other keys + to be defined. """ super().__init__(self, success=success, details=details or {})