tblib.decorators
¶
Module Contents¶
Classes¶
Functions¶
|
|
|
args is a tuple where the first argument is a callable. |
- tblib.decorators.return_error(func, exc_type=Exception)¶
- tblib.decorators.apply_with_return_error(args)¶
args is a tuple where the first argument is a callable.
eg:
apply_with_return_error((func, 1, 2, 3)) - this will call func(1, 2, 3)