I have a problem with the transfer of variable \'insurance_mode\' by the decorator. I would do it by the following decorator statement:
@execute_complete_rese
define this "decoratorize function" to generate customized decorator function:
def decoratorize(FUN, **kw): def foo(*args, **kws): return FUN(*args, **kws, **kw) return foo
use it this way:
@decoratorize(FUN, arg1 = , arg2 = , ...) def bar(...): ...