(**kwargs)
This method is called to action a reaction
This method is called to action a reaction
This method is called to action a reaction
def action(**kwargs):
    ''' This method is called to action a reaction '''
    redata = kwargs['redata']
    jdata = kwargs['jdata']
    rdb = kwargs['rdb']
    r_server = kwargs['r_server']
    logger = kwargs['logger']

    run = True
    if jdata['check']['prev_status'] == jdata['check']['status']:
         run = False

    if run:
        return logit(jdata, rdb, r_server, logger)
    else:
        return None
def action ( * * kwargs ) : redata = kwargs [ 'redata' ] jdata = kwargs [ 'jdata' ] rdb = kwargs [ 'rdb' ] r_server = kwargs [ 'r_server' ] logger = kwargs [ 'logger' ] run = True if jdata [ 'check' ] [ 'prev_status' ] == jdata [ 'check' ] [ 'status' ] : run = False if run : return logit ( jdata , rdb , r_server , logger ) else : return None