示例#1
0
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])
示例#2
0
 def output_link(self):
     return ServerOutputLink(self.id)
示例#3
0
def output_link_get(server_id):
    return ServerOutputLink(server_id).get_output()