MaxRetriesExceededError
The tasks max restart limit has been exceeded.
Attributes
| Attribute | Type | Description |
|---|---|---|
| task_args | list = [] | Positional arguments passed to the task that exceeded its maximum retry limit. |
| task_kwargs | dict = {} | Keyword arguments passed to the task that exceeded its maximum retry limit. |
Constructor
Signature
def MaxRetriesExceededError(
*args: any,
**kwargs: any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| *args | any | Variable length argument list passed to the parent TaskError class. |
| **kwargs | any | Arbitrary keyword arguments containing optional task_args and task_kwargs. |
Signature
def MaxRetriesExceededError(
*args: tuple,
**kwargs: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| *args | tuple | Variable length argument list passed to the base TaskError class. |
| **kwargs | dict | Arbitrary keyword arguments; specifically looks for 'task_args' and 'task_kwargs' to store the state of the failed task. |