def output_link_clear(server_id): svr = get_by_id(server_id, fields=['_id', 'links']) ServerOutputLink(server_id).clear_output( [x['server_id'] for x in svr.links])
def output_link(self): return ServerOutputLink(self.id)
def output_link_get(server_id): return ServerOutputLink(server_id).get_output()