#NEWLINE# def after( self , fn ) : #NEWLINE# #INDENT# '\n        A decorator for a function. Service is triggered on return.\n        ' #NEWLINE# @ functools . wraps ( fn ) #NEWLINE# def wrap( * args , **kws ) : #NEWLINE# #INDENT# with self : #NEWLINE# #INDENT# return fn ( * args , ** kws ) #NEWLINE# #UNINDENT# #UNINDENT# return self