(self, did, rdb)
return xdata
This will lookup and return all of the
        monitors available for this domain
This will lookup and return all of the
        monitors available for this domain
This will lookup and return all of the monitors available for this domain
def getMonitors(self, did, rdb):
        '''
        This will lookup and return all of the
        monitors available for this domain
        '''
        results = r.table('monitors').filter({'did': did}).run(rdb)
        xdata = {}
        for x in results:
            if x['id']:
                xdata[x['id']] = x
        return xdata
def getMonitors ( self , did , rdb ) : results = r . table ( 'monitors' ) . filter ( { 'did' : did } ) . run ( rdb ) xdata = { } for x in results : if x [ 'id' ] : xdata [ x [ 'id' ] ] = x return xdata