(f)
return f
Decorator for registering a function to serve as notification center. Should accept data dict of incoming
    notifications and can decide behavior based on that information.
Decorator for registering a function to serve as notification center. Should accept data dict of incoming
    notifications and can decide behavior based on that information.
Decorator for registering a function to serve as notification center . Should accept data dict of incoming notifications and can decide behavior based on that information .
def notifications(f):
    """
    Decorator for registering a function to serve as notification center. Should accept data dict of incoming
    notifications and can decide behavior based on that information.
    """
    notifications.__dict__['*notification_center'] = f
    return f
def notifications ( f ) : notifications . __dict__ [ '*notification_center' ] = f return f