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

Method find_handler

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

Source from the content-addressed store, hash-verified

78 self.app = app
79
80 def find_handler(self, request, **kwargs):
81 handler = GetResource if request.method == "GET" else PostResource
82 return self.app.get_handler_delegate(request, handler, path_args=[request.path])
83
84
85class HTTPMethodRouterTestCase(AsyncHTTPTestCase):

Callers

nothing calls this directly

Calls 1

get_handler_delegateMethod · 0.80

Tested by

no test coverage detected