MCPcopy Create free account
hub / github.com/EasyIME/PIME / find_handler

Method find_handler

python/python3/tornado/test/routing_test.py:124–127  ·  view source on GitHub ↗
(self, request, **kwargs)

Source from the content-addressed store, hash-verified

122 self.routes.update(routes)
123
124 def find_handler(self, request, **kwargs):
125 if request.path in self.routes:
126 app, handler = self.routes[request.path]
127 return app.get_handler_delegate(request, handler)
128
129 def reverse_url(self, name, *args):
130 handler_path = "/" + name

Callers

nothing calls this directly

Calls 1

get_handler_delegateMethod · 0.80

Tested by

no test coverage detected