

def register(self, path, fn, methods):
    if (not callable(fn)):
        raise RouterException('Router only accept callable object.')
    r = Rule(r, methods)
    self.rulesMap[r] = fn

dataset/ETHPy150Open jasonlvhit/lunar/lunar/router.py Router.register/VarMisuse@38/51 `path`->`r`