

@auth
def _DELETE(self, *param, **params):
    host_id = self.chk_hostby1(param)
    if (host_id is None):
        return web.notfound()
    host = findbyhost1(self.orm, host_id)
    logical_delete(self.orm, host)
    return web.seeother(url='/')

dataset/ETHPy150Open karesansui/karesansui/karesansui/gadget/hostby1.py HostBy1._DELETE/original