cctools
|
Exception raised when a function goes over the resources limits. More...
Public Member Functions | |
def | __init__ |
Exception raised when a function goes over the resources limits.
def resource_monitor.ResourceExhaustion.__init__ | ( | self, | |
resources, | |||
function, | |||
args = None , |
|||
kwargs = None |
|||
) |
self | Reference to the current object. |
resources | Dictionary of the resources measured at the time of the exhaustion. |
function | Function that caused the exhaustion. |
args | List of positional arguments to function that caused the exhaustion. |
kwargs | Dictionary of keyword arguments to function that caused the exhaustion. |
References resource_monitor.ResourceExhaustion.args, resource_monitor.ResourceExhaustion.function, resource_monitor.ResourceExhaustion.kwargs, batch_task.resources, and resource_monitor.ResourceExhaustion.resources.