def SpiceUDBAIL(f):
@functools.wraps(f)<EOL>def wrapping_udbail():<EOL><INDENT>result = f()<EOL>return int(result)<EOL><DEDENT>return UDBAIL(wrapping_udbail)<EOL>
Decorator for wrapping python functions in spice udbail callback type
:param f: function to be wrapped
:type f: builtins.function
:return: wrapped udbail function
:rtype: builtins.function